Class SFile

java.lang.Object
com.logicaldoc.sharefile.SFile

public class SFile extends Object
An element returned by ShareFile.
Since:
7.2.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • SFile

      public SFile(String id)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • isFile

      public boolean isFile()
    • isFolder

      public boolean isFolder()
    • setFile

      public void setFile(boolean file)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getCreation

      public Date getCreation()
    • setCreation

      public void setCreation(Date creation)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getFilename

      public String getFilename()
    • setFilename

      public void setFilename(String filename)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)