Class TemporaryFile

java.lang.Object
com.vdoc.sdk.commons.temporary.TemporaryFile

public class TemporaryFile extends Object
Temporary file Created by vmartinon on 19/02/2015.
  • Field Details

    • file

      protected File file
    • timeToLive

      protected long timeToLive
  • Constructor Details

    • TemporaryFile

      public TemporaryFile(File file, long timeToLive)
      Constructor
      Parameters:
      file - the file
      timeToLive - the time to live
  • Method Details

    • getFile

      public File getFile()
      get file property
      Returns:
      get the file property
    • setFile

      public void setFile(File file)
      set file property
      Parameters:
      file - set the file property
    • getTimeToLive

      public long getTimeToLive()
      get timeToLive property
      Returns:
      get the timeToLive property
    • setTimeToLive

      public void setTimeToLive(long timeToLive)
      set timeToLive property
      Parameters:
      timeToLive - set the timeToLive property