public class ExportFileNameEncoder extends Object
Constructor and Description |
---|
ExportFileNameEncoder() |
Modifier and Type | Method and Description |
---|---|
static String |
decodeZipFileName(String encodedFileName)
Decode the encoded file or folder name back to the orignal repo name.
|
static String |
decodeZipPath(String encodedPath)
Decode the path back into the repo path
|
static String |
encodeZipFileName(String fileName)
Encode a single file or folder name
|
static String |
encodeZipPathName(String path)
Encode a full path to a file or path to a folder
|
public static String encodeZipFileName(String fileName)
fileName
- As stored in repopublic static String decodeZipFileName(String encodedFileName)
encodedFile/folder
- Namepublic static String encodeZipPathName(String path)
path
- Copyright © 2019 Hitachi Vantara. All rights reserved.