Class Sftp3gppUtils

    • Constructor Detail

      • Sftp3gppUtils

        public Sftp3gppUtils()
    • Method Detail

      • getLastFilename

        public static String getLastFilename​(BlobStore blobStore,
                                             String serviceName,
                                             ResourcePath path,
                                             String targetPath)
                                      throws Exception
        Gets the last filename.
        Parameters:
        serviceName - the service name
        resourceDir - the resource directory
        targetPath - the target path
        Returns:
        the last filename
        Throws:
        Exception - the exception
      • setLastFilename

        public static void setLastFilename​(BlobStore blobStore,
                                           String serviceName,
                                           ResourcePath path,
                                           String targetPath,
                                           String filename)
                                    throws Exception
        Sets the last filename.
        Parameters:
        serviceName - the service name
        resourceDir - the resource directory
        targetPath - the target path
        filename - the filename
        Throws:
        Exception - the exception
      • getCacheId

        public static String getCacheId​(ResourcePath path,
                                        String serviceName,
                                        String targetPath)
        Gets the cache id.
        Parameters:
        serviceName - the service name
        targetPath - the target path
        Returns:
        the cache id
      • deleteFile

        public static void deleteFile​(Sftp3gppUrlConnection connection,
                                      String fileName)
        Safely delete file on remote node.
        Parameters:
        connection - the SFTP URL Connection
        fileName - the file name
      • processXmlResource

        public static void processXmlResource​(CollectionSetBuilder builder,
                                              Resource resource,
                                              String resourceTypeName,
                                              String group)
        Process xml resource.
        Parameters:
        resource - the resource
        attribGroupType - the attrib group type
      • get3gppFormat

        public static String get3gppFormat​(String resourceType)
        Gets the 3GPP resource format.
        Parameters:
        resourceType - the resource type
        Returns:
        the 3gpp format
      • get3gppProperties

        public static Map<String,​String> get3gppProperties​(String format,
                                                                 String measInfoId)
        Gets the 3GPP properties based on measInfoId.
        Parameters:
        format - the format
        measInfoId - the measInfoId (the resource instance)
        Returns:
        the properties