Package snap.web

Class FileContents

java.lang.Object
snap.web.FileContents

public class FileContents extends Object
This class represents the contents of a file as returned from a WebSite.
  • Constructor Details

    • FileContents

      public FileContents(Object theContents, long modTime)
      Constructor.
  • Method Details

    • getBytes

      public byte[] getBytes()
      Returns the bytes.
    • getFiles

      public WebFile[] getFiles()
      Returns the files.
    • getModTime

      public long getModTime()
      Returns the mod time.