Class FileItem

java.lang.Object
com.avoka.fc.core.service.composer.FileItem

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

    • 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 Details

    • 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