public class OdfFileEntry extends Object
Constructor and Description |
---|
OdfFileEntry() |
OdfFileEntry(String path,
String mediaType) |
OdfFileEntry(String path,
String mediaType,
int size) |
Modifier and Type | Method and Description |
---|---|
EncryptionData |
getEncryptionData() |
String |
getMediaType() |
static String |
getMediaType(String fileRef)
Get the media type from the given file reference
|
String |
getPath() |
int |
getSize()
get the size or -1 if not set
|
String |
getVersion() |
void |
setEncryptionData(EncryptionData encryptionData) |
void |
setMediaType(String mediaType) |
void |
setPath(String path) |
void |
setSize(int size) |
void |
setVersion(String version) |
public void setPath(String path)
public String getPath()
public void setMediaType(String mediaType)
public String getMediaType()
public static String getMediaType(String fileRef)
fileRef
- the reference to the file the media type is questionedpublic void setSize(int size)
public int getSize()
public void setEncryptionData(EncryptionData encryptionData)
public EncryptionData getEncryptionData()
public String getVersion()
public void setVersion(String version)
Copyright © 2014 myGrid. All rights reserved.