eu.unicore.hila.grid.unicore6
Class Unicore6File
java.lang.Object
eu.unicore.hila.common.BaseResource
eu.unicore.hila.common.grid.BaseFile
eu.unicore.hila.grid.unicore6.Unicore6File
- All Implemented Interfaces:
- eu.unicore.hila.grid.File, eu.unicore.hila.Resource
public class Unicore6File
- extends eu.unicore.hila.common.grid.BaseFile
- implements eu.unicore.hila.grid.File
- Author:
- bjoernh
27.08.2009 10:04:13
Fields inherited from class eu.unicore.hila.common.grid.BaseFile |
path |
Fields inherited from class eu.unicore.hila.common.BaseResource |
location |
Method Summary |
void |
copyTo(eu.unicore.hila.grid.File other,
boolean overwrite,
boolean _recursive)
|
boolean |
delete(boolean _recursive)
|
boolean |
exists()
|
eu.unicore.hila.grid.SimpleTransfer |
exportToLocalFile(File localFile,
boolean _overwrite,
boolean _recursive)
|
eu.unicore.hila.grid.SimpleTransfer |
exportToStream(OutputStream _os)
|
String |
getStagingURI()
|
eu.unicore.hila.grid.Storage |
getStorage()
|
eu.unicore.hila.grid.SimpleTransfer |
importFromLocalFile(File localFile,
boolean _overwrite,
boolean _recursive)
|
eu.unicore.hila.grid.SimpleTransfer |
importFromStream(InputStream is,
boolean overwrite)
|
boolean |
isDirectory()
|
boolean |
isExecutable()
|
boolean |
isReadable()
|
boolean |
isWritable()
|
Date |
lastModified()
|
static Unicore6File |
locate(eu.unicore.hila.Location _location,
Object... _extraInformation)
|
List<eu.unicore.hila.grid.File> |
ls()
|
boolean |
mkdir(boolean _createParents)
|
void |
moveTo(eu.unicore.hila.grid.File other,
boolean overwrite)
|
void |
setIsExecutable(boolean executable)
|
void |
setIsReadable(boolean readable)
|
void |
setIsWritable(boolean writable)
|
long |
size()
|
eu.unicore.hila.grid.ThirdPartyTransfer |
transfer(eu.unicore.hila.grid.File _other,
boolean _overwrite,
boolean _recursive)
|
Methods inherited from class eu.unicore.hila.common.grid.BaseFile |
chmod, copyTo, copyTo, delete, exportToLocalFile, exportToLocalFile, getChildren, getMetadata, getPath, importFromLocalFile, importFromLocalFile, importFromStream, isRoot, mkdir, moveTo, transfer, transfer |
Methods inherited from class eu.unicore.hila.common.BaseResource |
findParentLocationOfType, getChild, getLocation, getName, getParent, ok |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface eu.unicore.hila.grid.File |
chmod, copyTo, copyTo, delete, exportToLocalFile, exportToLocalFile, importFromLocalFile, importFromLocalFile, importFromStream, isRoot, mkdir, moveTo, transfer, transfer |
Methods inherited from interface eu.unicore.hila.Resource |
getChild, getChildren, getLocation, getMetadata, getName, getParent, ok |
locate
public static Unicore6File locate(eu.unicore.hila.Location _location,
Object... _extraInformation)
throws eu.unicore.hila.exceptions.HiLAException
- Throws:
eu.unicore.hila.exceptions.HiLAException
delete
public boolean delete(boolean _recursive)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
delete
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.delete()
exists
public boolean exists()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
exists
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.exists()
size
public long size()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
size
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.size()
getStorage
public eu.unicore.hila.grid.Storage getStorage()
- Specified by:
getStorage
in interface eu.unicore.hila.grid.File
- See Also:
File.getStorage()
importFromLocalFile
public eu.unicore.hila.grid.SimpleTransfer importFromLocalFile(File localFile,
boolean _overwrite,
boolean _recursive)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
importFromLocalFile
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.importFromLocalFile(java.io.File)
exportToLocalFile
public eu.unicore.hila.grid.SimpleTransfer exportToLocalFile(File localFile,
boolean _overwrite,
boolean _recursive)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
exportToLocalFile
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.exportToLocalFile(java.io.File)
isDirectory
public boolean isDirectory()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
isDirectory
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.isDirectory()
ls
public List<eu.unicore.hila.grid.File> ls()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
ls
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.ls()
mkdir
public boolean mkdir(boolean _createParents)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
mkdir
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.mkdir()
isExecutable
public boolean isExecutable()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
isExecutable
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.isExecutable()
isReadable
public boolean isReadable()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
isReadable
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.isReadable()
isWritable
public boolean isWritable()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
isWritable
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.isWritable()
setIsExecutable
public void setIsExecutable(boolean executable)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
setIsExecutable
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.setIsExecutable(boolean)
setIsReadable
public void setIsReadable(boolean readable)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
setIsReadable
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.setIsReadable(boolean)
setIsWritable
public void setIsWritable(boolean writable)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
setIsWritable
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.setIsWritable(boolean)
copyTo
public void copyTo(eu.unicore.hila.grid.File other,
boolean overwrite,
boolean _recursive)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
copyTo
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.copyTo(eu.unicore.hila.grid.File, boolean)
lastModified
public Date lastModified()
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
lastModified
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.lastModified()
moveTo
public void moveTo(eu.unicore.hila.grid.File other,
boolean overwrite)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
moveTo
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.moveTo(eu.unicore.hila.grid.File, boolean)
transfer
public eu.unicore.hila.grid.ThirdPartyTransfer transfer(eu.unicore.hila.grid.File _other,
boolean _overwrite,
boolean _recursive)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
transfer
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.transfer(eu.unicore.hila.grid.File,
boolean)
getStagingURI
public String getStagingURI()
exportToStream
public eu.unicore.hila.grid.SimpleTransfer exportToStream(OutputStream _os)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
exportToStream
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.exportToStream(java.io.OutputStream)
importFromStream
public eu.unicore.hila.grid.SimpleTransfer importFromStream(InputStream is,
boolean overwrite)
throws eu.unicore.hila.exceptions.HiLAException
- Specified by:
importFromStream
in interface eu.unicore.hila.grid.File
- Throws:
eu.unicore.hila.exceptions.HiLAException
- See Also:
File.importFromStream(java.io.InputStream,
boolean)
Copyright © 2010-2013 UNICORE. All Rights Reserved.