Class StreamManagerImp

java.lang.Object
ecmwf.common.technical.StreamManagerImp
All Implemented Interfaces:
StreamManager

public final class StreamManagerImp extends Object implements StreamManager
The Class StreamManagerImp.
  • Method Details

    • getBuffered

      public static OutputStream getBuffered(OutputStream out, int size)
      Gets the buffered.
      Parameters:
      out - the out
      size - the size
      Returns:
      the buffered
    • getFilters

      public static OutputStream getFilters(OutputStream out, String filters, int size) throws IOException
      Gets the filters.
      Parameters:
      out - the out
      filters - the filters
      size - the size
      Returns:
      the filters
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • isFiltered

      public static boolean isFiltered(OutputStream out)
      Checks if is filtered.
      Parameters:
      out - the out
      Returns:
      true, if is filtered
    • getBuffered

      public static InputStream getBuffered(InputStream in, int size)
      Gets the buffered.
      Parameters:
      in - the in
      size - the size
      Returns:
      the buffered
    • getFilters

      public static InputStream getFilters(InputStream in, String filters, int size) throws IOException
      Gets the filters.
      Parameters:
      in - the in
      filters - the filters
      size - the size
      Returns:
      the filters
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • getExtension

      public static String getExtension(String filters) throws IOException
      Gets the extension.
      Parameters:
      filters - the filters
      Returns:
      the extension
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • isFiltered

      public static boolean isFiltered(InputStream in)
      Checks if is filtered.
      Parameters:
      in - the in
      Returns:
      true, if is filtered
    • isFiltered

      public static boolean isFiltered(String filters)
      Checks if is filtered.
      Parameters:
      filters - the filters
      Returns:
      true, if is filtered
    • getFilters

      public static String getFilters(String filters, long size) throws IOException
      Gets the filters.
      Parameters:
      filters - the filters
      size - the size
      Returns:
      the filters
      Throws:
      IOException - Signals that an I/O exception has occurred.