public class FtpFileNameParser extends HostFileNameParser
HostFileNameParser.Authority| Constructor and Description |
|---|
FtpFileNameParser() |
| Modifier and Type | Method and Description |
|---|---|
static FileNameParser |
getInstance() |
FileName |
parseUri(VfsComponentContext context,
FileName base,
String filename)
parses a String into a filename.
|
extractHostName, extractPort, extractToPath, extractUserInfo, getDefaultPortencodeCharacterpublic static FileNameParser getInstance()
public FileName parseUri(VfsComponentContext context, FileName base, String filename) throws FileSystemException
FileNameParserparseUri in interface FileNameParserparseUri in class HostFileNameParsercontext - The component context.base - The base FileName.filename - The target file name.FileSystemException - if an error occurs parsing the URI.Copyright © 2002–2022 WSO2. All rights reserved.