Package org.teamapps.protocol.schema
Class FileProperty
java.lang.Object
org.teamapps.protocol.schema.FileProperty
public class FileProperty
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description FileProperty(java.io.File file)FileProperty(java.lang.String fileName, java.io.File file)FileProperty(java.lang.String fileName, java.io.File file, long length) -
Method Summary
Modifier and Type Method Description booleanexists()java.io.FilegetFile()java.lang.StringgetFileName()longgetLength()voidsetFile(java.io.File file)voidsetFileName(java.lang.String fileName)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
FileProperty
public FileProperty(java.lang.String fileName, java.io.File file) -
FileProperty
public FileProperty(java.lang.String fileName, java.io.File file, long length) -
FileProperty
public FileProperty(java.io.File file)
-
-
Method Details
-
getFileName
public java.lang.String getFileName() -
setFileName
public void setFileName(java.lang.String fileName) -
getFile
public java.io.File getFile() -
setFile
public void setFile(java.io.File file) -
getLength
public long getLength() -
exists
public boolean exists() -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-