|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fuin.kickstart4j.RemoteFile
public final class RemoteFile
Remote file.
| Constructor Summary | |
|---|---|
RemoteFile(java.lang.String srcFileUrlStr,
java.lang.String destPath,
java.lang.String destFilename,
boolean errorIfNotFound)
Constructor with all arguments. |
|
RemoteFile(java.net.URL srcFileUrl,
java.lang.String destPath,
java.lang.String destFilename,
boolean errorIfNotFound)
Constructor with all arguments. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDestFilename()
Returns the filename at the destination. |
java.lang.String |
getDestPath()
Returns the (relative) path at the destination. |
java.net.URL |
getSrcFileUrl()
Returns the URL of the remote file. |
boolean |
isErrorIfNotFound()
Returns if the copy process will be aborted when this file was not found at the srcFileUrl. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteFile(java.lang.String srcFileUrlStr,
java.lang.String destPath,
java.lang.String destFilename,
boolean errorIfNotFound)
throws java.net.MalformedURLException
srcFileUrlStr - URL of the remote file as String.destPath - The (relative) path at the destination location.destFilename - The filename at the destination location (without path).errorIfNotFound - The copy process will be aborted when this file was not found
at the srcFileUrl.
java.net.MalformedURLException - The srcFileUrl cannot be converted into an
URL.
public RemoteFile(java.net.URL srcFileUrl,
java.lang.String destPath,
java.lang.String destFilename,
boolean errorIfNotFound)
srcFileUrl - URL of the remote file.destPath - The (relative) path at the destination.destFilename - The filename at the destination (without path).errorIfNotFound - The copy process will be aborted when this file was not found
at the srcFileUrl.| Method Detail |
|---|
public final java.net.URL getSrcFileUrl()
public final java.lang.String getDestPath()
public final java.lang.String getDestFilename()
public final boolean isErrorIfNotFound()
srcFileUrl.
true else
false.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||