org.infolayer.servlet
Class FileContainer

java.lang.Object
  extended byorg.infolayer.model.BinaryImpl
      extended byorg.infolayer.model.FileBinary
          extended byorg.infolayer.servlet.FileContainer
All Implemented Interfaces:
Binary

public class FileContainer
extends FileBinary

Helper class implementing the Binary interface, holding binary data from MIME encoded requests until assignment to an infolayer binary field.


Field Summary
 java.lang.String name
          The file name of the contained file
 java.lang.String type
          Mime type of the contained file
 
Fields inherited from interface org.infolayer.model.Binary
NULL
 
Constructor Summary
FileContainer(java.lang.String name, Decoder decoder)
           
 
Methods inherited from class org.infolayer.model.FileBinary
equals, fromUrl, getFile, getInputStream, getSize, length
 
Methods inherited from class org.infolayer.model.BinaryImpl
isOwnedBy
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The file name of the contained file


type

public java.lang.String type
Mime type of the contained file

Constructor Detail

FileContainer

public FileContainer(java.lang.String name,
                     Decoder decoder)
              throws java.io.IOException