Package tv.hd3g.transfertfiles.local
Class LocalFileSystem
java.lang.Object
tv.hd3g.transfertfiles.CommonAbstractFileSystem<LocalFile>
tv.hd3g.transfertfiles.local.LocalFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable,AbstractFileSystem<LocalFile>
-
Field Summary
Fields inherited from class tv.hd3g.transfertfiles.CommonAbstractFileSystem
timeoutDuration -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tv.hd3g.transfertfiles.CommonAbstractFileSystem
getBasePath, getPathFromRelative, getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tv.hd3g.transfertfiles.AbstractFileSystem
getFromPath, getIOBufferSize
-
Constructor Details
-
LocalFileSystem
-
-
Method Details
-
isReusable
public boolean isReusable()Description copied from interface:AbstractFileSystemIf disconnected, can we re-connect after ? -
isAvaliable
public boolean isAvaliable() -
getFromPath
- Parameters:
path- relative path only
-
connect
public void connect() -
close
public void close() -
hashCode
public int hashCode()- Overrides:
hashCodein classCommonAbstractFileSystem<LocalFile>
-
equals
- Overrides:
equalsin classCommonAbstractFileSystem<LocalFile>
-
toString
-
reusableHashCode
public int reusableHashCode()- Returns:
- the same code for the same internal engine instance in FileSystem. Can be used for interract two FS and protect the both are not the same.
-
getHost
-
getUsername
-