Retrieve a Customization Resource Bundle ID

Retrieves a customization resource bundle identifier from its binaries.

Syntax

String getCustomizationResourceBundleId(byte[] customizationResourceBundleBytes)
  throws SUPAdminException;

Returns

If successful, returns the ID of the supplied customization resource bundle binaries. If unsuccessful, returns SUPAdminException.

Examples

  • Retrieval
    File file = new File("C:\\CustomizationResourceBundle.jar");
    InputStream is = new FileInputStream(file);
    byte[] bytes = new byte[is.available()];
    is.read(bytes);
    app.getCustomizationResourceBundleId(bytes);