Class Sftp3gppUrlConnection

    • Constructor Detail

      • Sftp3gppUrlConnection

        protected Sftp3gppUrlConnection​(URL url)
        Instantiates a new SFTP+3GPP URL connection.
        Parameters:
        url - the URL
    • Method Detail

      • get3gppFileName

        public String get3gppFileName()
                               throws SftpUrlException
        Gets the file name for 3GPP-A (NE Mode).
        Returns:
        the path for 3GPP-A (NE Mode)
        Throws:
        SftpUrlException - the SFTP URL exception
      • getTimeStampFromFile

        public long getTimeStampFromFile​(String fileName)
        Gets the time stamp from 3GPP XML file name.
        Parameters:
        fileName - the 3GPP XML file name
        Returns:
        the time stamp from file
      • getQueryMap

        public Map<String,​String> getQueryMap()
        Gets the properties map from the URL Query..
        Returns:
        the query map
      • getFileList

        public List<String> getFileList()
                                 throws com.jcraft.jsch.SftpException,
                                        IOException
        Gets the file list (from the path defined on the URL).
        Returns:
        the file list
        Throws:
        com.jcraft.jsch.SftpException - the SFTP exception
        IOException - Signals that an I/O exception has occurred.
      • deleteFile

        public void deleteFile​(String fileName)
                        throws com.jcraft.jsch.SftpException,
                               IOException
        Delete file (from the path defined on the URL).
        Parameters:
        fileName - the file name
        Throws:
        com.jcraft.jsch.SftpException - the SFTP exception
        IOException - Signals that an I/O exception has occurred.
      • getFile

        public InputStream getFile​(String fileName)
                            throws com.jcraft.jsch.SftpException,
                                   IOException
        Gets the file (from the path defined on the URL).
        Parameters:
        fileName - the file name
        Returns:
        the file
        Throws:
        com.jcraft.jsch.SftpException - the SFTP exception
        IOException - Signals that an I/O exception has occurred.