public class Sftp3gppUrlConnection extends SftpUrlConnection
DEFAULT_TIMEOUTallowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Modifier | Constructor and Description |
|---|---|
protected |
Sftp3gppUrlConnection(URL url)
Instantiates a new SFTP+3GPP URL connection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFile(String fileName)
Delete file (from the path defined on the URL).
|
String |
get3gppFileName()
Gets the file name for 3GPP-A (NE Mode).
|
InputStream |
getFile(String fileName)
Gets the file (from the path defined on the URL).
|
List<String> |
getFileList()
Gets the file list (from the path defined on the URL).
|
protected String |
getPath()
Gets the path for 3GPP-A (NE Mode).
|
Map<String,String> |
getQueryMap()
Gets the properties map from the URL Query..
|
long |
getTimeStampFromFile(String fileName)
Gets the time stamp from 3GPP XML file name.
|
connect, disconnect, getChannel, getInputStreamaddRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringprotected Sftp3gppUrlConnection(URL url)
url - the URLprotected String getPath() throws SftpUrlException
getPath in class SftpUrlConnectionSftpUrlException - the SFTP URL exceptionpublic String get3gppFileName() throws SftpUrlException
SftpUrlException - the SFTP URL exceptionpublic long getTimeStampFromFile(String fileName)
fileName - the 3GPP XML file namepublic Map<String,String> getQueryMap()
public List<String> getFileList() throws com.jcraft.jsch.SftpException, IOException
com.jcraft.jsch.SftpException - the SFTP exceptionIOException - Signals that an I/O exception has occurred.public void deleteFile(String fileName) throws com.jcraft.jsch.SftpException, IOException
fileName - the file namecom.jcraft.jsch.SftpException - the SFTP exceptionIOException - Signals that an I/O exception has occurred.public InputStream getFile(String fileName) throws com.jcraft.jsch.SftpException, IOException
fileName - the file namecom.jcraft.jsch.SftpException - the SFTP exceptionIOException - Signals that an I/O exception has occurred.Copyright © 2022. All rights reserved.