Class InputStreamUploadSource

java.lang.Object
net.sf.basedb.opengrid.filetransfer.InputStreamUploadSource
All Implemented Interfaces:
UploadSource

public class InputStreamUploadSource extends Object implements UploadSource
Generic upload source implementation that simply wraps an existing input stream. File metadata is optional.
Since:
1.0
Author:
nicklas
  • Field Details

  • Constructor Details

    • InputStreamUploadSource

      public InputStreamUploadSource(String name, InputStream in)
      Create a new upload source from the existing input stream.
    • InputStreamUploadSource

      public InputStreamUploadSource(String name, InputStream in, FileMetaData metadata)
      Create a new upload source from the existing input stream and file metadata.
  • Method Details