Class CloudUtil

java.lang.Object
org.cdlib.mrt.s3.service.CloudUtil

public class CloudUtil extends Object
Cloud Utilities
  • Field Details

  • Constructor Details

    • CloudUtil

      public CloudUtil()
  • Method Details

    • getKey

      public static String getKey(org.cdlib.mrt.core.Identifier objectID, Integer versionID, String fileID, boolean alphaNumeric) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getManifestKey

      public static String getManifestKey(org.cdlib.mrt.core.Identifier objectID, boolean alphaNumeric) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • encodeElement

      public static String encodeElement(String element, boolean alphaNumeric)
    • decodeElement

      public static String decodeElement(String element)
    • decodeElementDotDot

      public static String decodeElementDotDot(String element)
    • hex2Byte

      public static byte[] hex2Byte(String str)
    • hex2Char

      public static String hex2Char(String part)
    • getDigestValue

      public static String getDigestValue(File testFile, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getDigestValue

      public static String getDigestValue(String type, File testFile, org.cdlib.mrt.utility.LoggerInf logger) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getKeyElements

      public static CloudUtil.KeyElements getKeyElements(String key) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException
    • getManifestKeyElements

      public static CloudUtil.KeyElements getManifestKeyElements(String key) throws org.cdlib.mrt.utility.TException
      Throws:
      org.cdlib.mrt.utility.TException