public abstract class Sftp3gppUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PM_GROUPS_FILENAME
The Constant PM_GROUPS_FILENAME.
|
static String |
XML_LAST_FILENAME
The Constant XML_LAST_FILENAME.
|
| Constructor and Description |
|---|
Sftp3gppUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteFile(Sftp3gppUrlConnection connection,
String fileName)
Safely delete file on remote node.
|
static String |
get3gppFormat(String resourceType)
Gets the 3GPP resource format.
|
static Map<String,String> |
get3gppProperties(String format,
String measInfoId)
Gets the 3GPP properties based on measInfoId.
|
static String |
getCacheId(String serviceName,
String targetPath)
Gets the cache id.
|
static String |
getLastFilename(ResourceStorageDao resourceStorageDao,
String serviceName,
ResourcePath path,
String targetPath)
Gets the last filename.
|
static void |
processXmlResource(XmlCollectionResource resource,
AttributeGroupType attribGroupType)
Process xml resource.
|
static void |
setLastFilename(ResourceStorageDao resourceStorageDao,
String serviceName,
ResourcePath path,
String targetPath,
String filename)
Sets the last filename.
|
public static final String PM_GROUPS_FILENAME
public static final String XML_LAST_FILENAME
public static String getLastFilename(ResourceStorageDao resourceStorageDao, String serviceName, ResourcePath path, String targetPath) throws Exception
serviceName - the service nameresourceDir - the resource directorytargetPath - the target pathException - the exceptionpublic static void setLastFilename(ResourceStorageDao resourceStorageDao, String serviceName, ResourcePath path, String targetPath, String filename) throws Exception
serviceName - the service nameresourceDir - the resource directorytargetPath - the target pathfilename - the filenameException - the exceptionpublic static String getCacheId(String serviceName, String targetPath)
serviceName - the service nametargetPath - the target pathpublic static void deleteFile(Sftp3gppUrlConnection connection, String fileName)
connection - the SFTP URL ConnectionfileName - the file namepublic static void processXmlResource(XmlCollectionResource resource, AttributeGroupType attribGroupType)
resource - the resourceattribGroupType - the attrib group typepublic static String get3gppFormat(String resourceType)
resourceType - the resource typeCopyright © 2020. All rights reserved.