Package org.duracloud.sync.endpoint
Class MonitoredFile
- java.lang.Object
-
- org.duracloud.sync.endpoint.MonitoredFile
-
public class MonitoredFile extends Object
-
-
Constructor Summary
Constructors Constructor Description MonitoredFile(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()StringgetAbsolutePath()StringgetChecksum()FilegetFile()StringgetMimetype()StringgetName()MonitoredInputStreamgetStream()longgetStreamBytesRead()longlength()URItoURI()
-
-
-
Constructor Detail
-
MonitoredFile
public MonitoredFile(File file)
-
-
Method Detail
-
getFile
public File getFile()
-
exists
public boolean exists()
-
getName
public String getName()
-
getAbsolutePath
public String getAbsolutePath()
-
length
public long length()
-
toURI
public URI toURI()
-
getStreamBytesRead
public long getStreamBytesRead()
-
getStream
public MonitoredInputStream getStream()
-
getChecksum
public String getChecksum()
-
getMimetype
public String getMimetype()
-
-