|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.Propagate.FileChecksum
public class FileChecksum
A file and a checksum for it. Whoopee. Only useful for the ChecksumDatafile.
| Constructor Summary | |
|---|---|
FileChecksum()
Create a new FileChecksum. |
|
FileChecksum(java.io.File filet,
java.lang.String type)
Create a new FileChecksum with the file, go ahead and calculate the checksum too. |
|
FileChecksum(java.io.File root,
java.lang.String filename,
java.lang.String type)
Create a new FileChecksum with the file, go ahead and calculate the checksum too. |
|
| Method Summary | |
|---|---|
long |
getChecksum()
Checksum for the file. |
java.io.File |
getFile()
|
java.lang.String |
getFilename()
|
java.lang.String |
getType()
|
void |
setChecksum(long newChecksum)
Checksum for the file. |
void |
setFilename(java.lang.String newFileName)
|
void |
setType(java.lang.String newType)
|
java.lang.String |
toString()
|
void |
updateChecksum()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileChecksum()
public FileChecksum(java.io.File filet,
java.lang.String type)
throws java.io.IOException
java.io.IOException
public FileChecksum(java.io.File root,
java.lang.String filename,
java.lang.String type)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void updateChecksum()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic long getChecksum()
public void setChecksum(long newChecksum)
public java.io.File getFile()
public java.lang.String getFilename()
public void setFilename(java.lang.String newFileName)
public java.lang.String getType()
public void setType(java.lang.String newType)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||