com.dynamide.util
Class FileTools.FileInfo
java.lang.Object
com.dynamide.util.FileTools.FileInfo
- Enclosing class:
- FileTools
public static class FileTools.FileInfo
- extends java.lang.Object
A class that contains information about a file and its contents so that the class
can be read fully, while preserving the File handle to pass back to the caller.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileTools.FileInfo
public FileTools.FileInfo(boolean binary,
boolean notFound,
java.io.File file)
- This is for empty files or file not found.
- Parameters:
binary
- means the file was supposed to be binary.
FileTools.FileInfo
public FileTools.FileInfo(java.io.File file,
java.lang.String string)
FileTools.FileInfo
public FileTools.FileInfo(java.io.File file,
byte[] bytes)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getNotModified
public boolean getNotModified()
setNotModified
public void setNotModified(boolean new_value)
getFileNotFound
public boolean getFileNotFound()
setFileNotFound
public void setFileNotFound(boolean new_value)
getIsBinary
public boolean getIsBinary()
setIsBinary
protected void setIsBinary(boolean new_value)
getFile
public java.io.File getFile()
setFile
protected void setFile(java.io.File new_value)
getAsString
public java.lang.String getAsString()
setAsString
protected void setAsString(java.lang.String new_value)
getBytes
public byte[] getBytes()
setBytes
protected void setBytes(byte[] new_value)
isEmpty
public boolean isEmpty()
setEmpty
protected void setEmpty(boolean new_value)
Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.