FileProperties

public class FileProperties

Constructors

FileProperties

public FileProperties(String checksum, String path, Long size)

FileProperties

public FileProperties(String checksum, String path, Long size, String tmpIdentifier)

Methods

cleanUpTmpDir

public void cleanUpTmpDir()

deleteFile

public Undoable deleteFile()

getChecksum

public String getChecksum()

getFile

public File getFile()

getPath

public String getPath()

getSize

public Long getSize()

getThumbnail

public File getThumbnail()

getTmpIdentifier

public String getTmpIdentifier()

hasChecksum

public boolean hasChecksum()

hasPath

public boolean hasPath()

hasSize

public boolean hasSize()

hasTmpIdentifier

public boolean hasTmpIdentifier()

isPickupable

public boolean isPickupable()

removeOnCleanUp

public void removeOnCleanUp(String tempPath)

retrieveFromFileSystem

public File retrieveFromFileSystem()

setChecksum

public FileProperties setChecksum(String checksum)

setFile

public FileProperties setFile(File file)

setPath

public FileProperties setPath(String path)

setPickupable

public FileProperties setPickupable(boolean b)

setSize

public FileProperties setSize(Long size)

setThumbnail

public FileProperties setThumbnail(File thumbnail)

setTmpIdentifier

public FileProperties setTmpIdentifier(String tmpIdentifier)

storeFile

public Undoable storeFile()