Class StreamManagerImp
java.lang.Object
ecmwf.common.technical.StreamManagerImp
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamgetBuffered(InputStream in, int size) Gets the buffered.static OutputStreamgetBuffered(OutputStream out, int size) Gets the buffered.static StringgetExtension(String filters) Gets the extension.static InputStreamgetFilters(InputStream in, String filters, int size) Gets the filters.static OutputStreamgetFilters(OutputStream out, String filters, int size) Gets the filters.static StringgetFilters(String filters, long size) Gets the filters.static booleanChecks if is filtered.static booleanisFiltered(OutputStream out) Checks if is filtered.static booleanisFiltered(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.
-