public class FtpFileObject extends URLFileObject
Modifier and Type | Field and Description |
---|---|
static int |
BUF_SIZE |
fileName, path
Constructor and Description |
---|
FtpFileObject(SchemaProvider schemaProvider,
String resource) |
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath() |
List<FileObject> |
getChildren() |
String |
getFileName() |
org.apache.commons.net.ftp.FTPClient |
getFtpClient() |
InputStream |
getInputStream() |
long |
getLastModifiedTime() |
OutputStream |
getOutputStream() |
String |
getPath() |
long |
getSize() |
boolean |
isFolder() |
getChild, getExtName, getFileSize, getUrl, getURL, isExist, isInPackage, setExtName, setFileName, setFileSize, setPath, setUrl
clean, delete, equals, foreach, foreach, getFileObject, getParent, getSchemaProvider, hashCode, isModified, resetModified, setParent, substringAfter
public static final int BUF_SIZE
public FtpFileObject(SchemaProvider schemaProvider, String resource)
public org.apache.commons.net.ftp.FTPClient getFtpClient()
public String getAbsolutePath()
getAbsolutePath
in interface FileObject
getAbsolutePath
in class URLFileObject
public String getPath()
getPath
in interface FileObject
getPath
in class URLFileObject
public String getFileName()
getFileName
in interface FileObject
getFileName
in class URLFileObject
public boolean isFolder()
isFolder
in interface FileObject
isFolder
in class URLFileObject
public long getLastModifiedTime()
public long getSize()
public InputStream getInputStream()
getInputStream
in interface FileObject
getInputStream
in class URLFileObject
public OutputStream getOutputStream()
getOutputStream
in interface FileObject
getOutputStream
in class URLFileObject
public List<FileObject> getChildren()
getChildren
in interface FileObject
getChildren
in class URLFileObject
Copyright © 2006–2018 TinyGroup. All rights reserved.