# Uses of Interface
java.io.ObjectInputFilter

Packages that use ObjectInputFilter
Package | Description
--- | ---
java.io | Provides for system input and output through data streams, serialization and the file system.
java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.

## Uses of ObjectInputFilter in java.io

Methods in java.io that return ObjectInputFilter
Modifier and Type | Method | Description
--- | --- | ---
`static ObjectInputFilter` | ObjectInputFilter.Config.`createFilter​(String pattern)` | Returns an ObjectInputFilter from a string of patterns.
`ObjectInputFilter` | ObjectInputStream.`getObjectInputFilter()` | Returns the serialization filter for this stream.
`static ObjectInputFilter` | ObjectInputFilter.Config.`getSerialFilter()` | Returns the system-wide serialization filter or `null` if not configured.

Methods in java.io with parameters of type ObjectInputFilter
Modifier and Type | Method | Description
--- | --- | ---
`void` | ObjectInputStream.`setObjectInputFilter​(ObjectInputFilter filter)` | Set the serialization filter for the stream.
`static void` | ObjectInputFilter.Config.`setSerialFilter​(ObjectInputFilter filter)` | Set the system-wide filter if it has not already been configured or set.

## Uses of ObjectInputFilter in java.rmi.server

Methods in java.rmi.server with parameters of type ObjectInputFilter
Modifier and Type | Method | Description
--- | --- | ---
`static Remote` | UnicastRemoteObject.`exportObject​(Remote obj, int port, ObjectInputFilter filter)` | Exports the remote object to make it available to receive incoming calls, using the particular supplied port and filter.
`static Remote` | UnicastRemoteObject.`exportObject​(Remote obj, int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf, ObjectInputFilter filter)` | Exports the remote object to make it available to receive incoming calls, using a transport specified by the given socket factory and filter.