org.mmbase.datatypes.processors
Class BinaryFile

Package class diagram package BinaryFile
java.lang.Object
  extended by org.mmbase.datatypes.processors.BinaryFile

public class BinaryFile
extends Object

This class contains Setter and Getter method for 'binary' file fields. In such fields you can set a FileItem, and it is stored as a file, using the FileServlet to produce an URL. The (string) field itself only contains a file name. The file could (and currently is supposed to) be served with FileServlet.

Author:
Michiel Meeuwissen

Nested Class Summary
static class BinaryFile.Delete
           
static class BinaryFile.Getter
           
static class BinaryFile.Setter
           
static class BinaryFile.StringGetter
          A bit of a hack, used if the file was originally saved in a transaction, and hence has a negative number prefix.
 
Field Summary
(package private) static File directory
           
static String DISABLE_DELETE
           
 
Constructor Summary
BinaryFile()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLE_DELETE

public static final String DISABLE_DELETE

directory

static File directory
Constructor Detail

BinaryFile

public BinaryFile()


MMBase2 Resources 2.0-SNAPSHOT - 2013-11-29T11:09