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
|
void |
setEncryptionData(EncryptionData encryptionData) |
void |
setMediaType(String mediaType) |
void |
setPath(String path) |
void |
setSize(int size) |
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()
Copyright © 2013 myGrid. All rights reserved.