Package com.independentsoft.office.odf
Class FileEntry
java.lang.Object
com.independentsoft.office.odf.FileEntry
The Class FileEntry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the media type.getPath()Gets the path.longgetSize()Gets the size.voidsetMediaType(String mediaType)Sets the media type.voidSets the path.voidsetSize(long size)Sets the size.toString()Converts the value of the current FileEntry object to its equivalent string representation.
-
Constructor Details
-
FileEntry
public FileEntry()Initializes a new instance of the FileEntry class. -
FileEntry
Initializes a new instance of the FileEntry class.- Parameters:
path- the pathmediaType- the media type
-
FileEntry
Initializes a new instance of the FileEntry class.- Parameters:
path- the pathmediaType- the media typesize- the size
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current FileEntry object to its equivalent string representation. -
getPath
Gets the path.- Returns:
- the path
-
setPath
Sets the path.- Parameters:
path- the new path
-
getMediaType
Gets the media type.- Returns:
- the media type
-
setMediaType
Sets the media type.- Parameters:
mediaType- the new media type
-
getSize
public long getSize()Gets the size.- Returns:
- the size
-
setSize
public void setSize(long size)Sets the size.- Parameters:
size- the new size
-