Class BinaryFile

Package class diagram package BinaryFile
  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.

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
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final String DISABLE_DELETE


static File directory
Constructor Detail


public BinaryFile()

MMBase2 Resources 2.0-SNAPSHOT - 2014-09-22T23:09