public class PC2APIFile extends Object implements edu.csus.ecs.pc2.core.model.IFile
Constructor and Description |
---|
PC2APIFile(String name,
String base64Data)
Constructs a PC2APIFile object with the specified name and containing data bytes defined
by decoding the specified base64 String.
|
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath()
Returns a String containing the absolute path for the name of this IFile object.
|
String |
getBase64Data()
Returns a String containing the Base64-encoded data in this IFile object.
|
byte[] |
getByteData()
Returns a byte array containing the data in this IFile object.
|
String |
getFileName()
Returns a String containing the name of this IFile object.
|
public String getFileName()
getFileName
in interface edu.csus.ecs.pc2.core.model.IFile
public String getBase64Data()
getBase64Data
in interface edu.csus.ecs.pc2.core.model.IFile
public byte[] getByteData()
getByteData
in interface edu.csus.ecs.pc2.core.model.IFile
public String getAbsolutePath()
edu.csus.ecs.pc2.core.model.IFile
getAbsolutePath
in interface edu.csus.ecs.pc2.core.model.IFile