Class StreamManagerImp
java.lang.Object
ecmwf.common.technical.StreamManagerImp
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
getBuffered
(InputStream in, int size) Gets the buffered.static OutputStream
getBuffered
(OutputStream out, int size) Gets the buffered.static String
getExtension
(String filters) Gets the extension.static InputStream
getFilters
(InputStream in, String filters, int size) Gets the filters.static OutputStream
getFilters
(OutputStream out, String filters, int size) Gets the filters.static String
getFilters
(String filters, long size) Gets the filters.static boolean
Checks if is filtered.static boolean
isFiltered
(OutputStream out) Checks if is filtered.static boolean
isFiltered
(String filters) Checks if is filtered.
-
Method Details
-
getBuffered
Gets the buffered.- Parameters:
out
- the outsize
- the size- Returns:
- the buffered
-
getFilters
public static OutputStream getFilters(OutputStream out, String filters, int size) throws IOException Gets the filters.- Parameters:
out
- the outfilters
- the filterssize
- the size- Returns:
- the filters
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
isFiltered
Checks if is filtered.- Parameters:
out
- the out- Returns:
- true, if is filtered
-
getBuffered
Gets the buffered.- Parameters:
in
- the insize
- the size- Returns:
- the buffered
-
getFilters
Gets the filters.- Parameters:
in
- the infilters
- the filterssize
- the size- Returns:
- the filters
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
getExtension
Gets the extension.- Parameters:
filters
- the filters- Returns:
- the extension
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
isFiltered
Checks if is filtered.- Parameters:
in
- the in- Returns:
- true, if is filtered
-
isFiltered
Checks if is filtered.- Parameters:
filters
- the filters- Returns:
- true, if is filtered
-
getFilters
Gets the filters.- Parameters:
filters
- the filterssize
- the size- Returns:
- the filters
- Throws:
IOException
- Signals that an I/O exception has occurred.
-