Class FileItem


  • public class FileItem
    extends Object
    Provides a file item class.
    • Constructor Detail

      • FileItem

        public FileItem​(String name,
                        byte[] data)
        Create a file item object with the given name and data
        Parameters:
        name - the file name
        data - 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
      • toString

        public String toString()
        Return the string representation of the object.
        Overrides:
        toString in class Object
        Returns:
        the string representation of the object