|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp12f.exe.pasarelapagos.objects.data.DataFile
Clase que representa un fichero/directorio.
Constructor Summary | |
DataFile()
Constructor vacío. |
Method Summary | |
java.util.List |
getDirectoryFiles()
|
java.lang.String |
getFileName()
|
java.lang.String |
getFilePath()
|
long |
getFileSize()
|
long |
getLastModified()
|
static DataFile |
getObject(java.lang.String xml)
Convierte un XML en un objeto DataFile. |
java.lang.String |
getParentPath()
|
boolean |
isCanRead()
|
boolean |
isCanWrite()
|
boolean |
isFile()
|
boolean |
isHidden()
|
void |
setCanRead(boolean canRead)
|
void |
setCanWrite(boolean canWrite)
|
void |
setDirectoryFiles(java.util.List directoryFiles)
|
void |
setFile(boolean isFile)
|
void |
setFileName(java.lang.String fileName)
|
void |
setFilePath(java.lang.String filePath)
|
void |
setFileSize(long fileSize)
|
void |
setHidden(boolean isHidden)
|
void |
setLastModified(long lastModified)
|
void |
setParentPath(java.lang.String parentPath)
|
java.lang.String |
toXML()
Convierte un Objeto DataFile a XML. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DataFile()
Method Detail |
public java.lang.String getFilePath()
public void setFilePath(java.lang.String filePath)
filePath
- the filePath to setpublic java.lang.String getParentPath()
public void setParentPath(java.lang.String parentPath)
parentPath
- the parentPath to setpublic java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName
- the fileName to setpublic boolean isCanRead()
public void setCanRead(boolean canRead)
canRead
- the canRead to setpublic boolean isCanWrite()
public void setCanWrite(boolean canWrite)
canWrite
- the canWrite to setpublic boolean isFile()
public void setFile(boolean isFile)
isFile
- the isFile to setpublic boolean isHidden()
public void setHidden(boolean isHidden)
isHidden
- the isHidden to setpublic long getLastModified()
public void setLastModified(long lastModified)
lastModified
- the lastModified to setpublic java.util.List getDirectoryFiles()
public void setDirectoryFiles(java.util.List directoryFiles)
directoryFiles
- the directoryFiles to setpublic long getFileSize()
public void setFileSize(long fileSize)
fileSize
- the fileSize to setpublic java.lang.String toXML() throws com.ejie.r01f.xml.marshalling.XOMarshallerException
com.ejie.r01f.xml.marshalling.XOMarshallerException
public static DataFile getObject(java.lang.String xml) throws com.ejie.r01f.xml.marshalling.XOMarshallerException
com.ejie.r01f.xml.marshalling.XOMarshallerException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |