Interface NuclosFile

All Superinterfaces:
NuclosFileBase

public interface NuclosFile extends NuclosFileBase
Class representing a file with its name and contents.
Author:
reichama
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    returns the content of the file
    returns the filename
    void
    setContent(byte[] fileContents)
    sets the content to the file
    void
    setName(String fileName)
    sets the filename
     
  • Method Details

    • getName

      String getName()
      returns the filename
    • setName

      void setName(String fileName)
      sets the filename
    • getContent

      byte[] getContent()
      returns the content of the file
    • setContent

      void setContent(byte[] fileContents)
      sets the content to the file
    • toLink

      NuclosFileLink toLink()