public class CassisDemoFile
extends java.lang.Object
| Constructor and Description |
|---|
CassisDemoFile(java.lang.String localPartialPath,
java.lang.String url,
java.lang.String checksum,
boolean propertiesFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Delete the local file.
|
boolean |
download()
Download the file.
|
boolean |
existLocaly() |
java.lang.String |
getLocalPath() |
boolean |
isPropertiesFile() |
boolean |
isTheSameChecksum()
Check if the checksum of the local file is the same that the one referenced.
|
public CassisDemoFile(java.lang.String localPartialPath,
java.lang.String url,
java.lang.String checksum,
boolean propertiesFile)
localPartialPath - partial path of the file (beside the cassis path)url - The URL of the file on Cassis webserverchecksum - The checksum of the file (md5).propertiesFile - If the file is a properties file.public java.lang.String getLocalPath()
public boolean existLocaly()
public boolean isTheSameChecksum()
public boolean delete()
public boolean download()
public boolean isPropertiesFile()