Class FileItem
- java.lang.Object
-
- com.avoka.fc.core.service.composer.FileItem
-
public class FileItem extends Object
Provides a file item class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getData()
Return the file data.String
getName()
Return the file name.String
toString()
Return the string representation of the object.
-
-
-
Constructor Detail
-
FileItem
public FileItem(String name, byte[] data)
Create a file item object with the given name and data- Parameters:
name
- the file namedata
- the file data
-
-
Method Detail
-
getName
public String getName()
Return the file name.- Returns:
- the file name
-
getData
public byte[] getData()
Return the file data.- Returns:
- the file data
-
-