/** * Initializes the region metadata singleton from an XML file on disk. * * @param file the file to load from * @throws SdkClientException on error opening or reading from the file */ @Deprecated public static synchronized void initializeFromFile(final File file) { try { regionMetadata = loadMetadataFromFile(file); } catch (IOException exception) { throw new SdkClientException( "Error parsing region metadata from " + file, exception); } }
/** * Initializes the region metadata singleton from an XML file on disk. * * @param file the file to load from * @throws SdkClientException on error opening or reading from the file */ @Deprecated public static synchronized void initializeFromFile(final File file) { try { regionMetadata = loadMetadataFromFile(file); } catch (IOException exception) { throw new SdkClientException( "Error parsing region metadata from " + file, exception); } }
/** * Initializes the region metadata singleton from an XML file on disk. * * @param file the file to load from * @throws SdkClientException on error opening or reading from the file */ @Deprecated public static synchronized void initializeFromFile(final File file) { try { regionMetadata = loadMetadataFromFile(file); } catch (IOException exception) { throw new SdkClientException( "Error parsing region metadata from " + file, exception); } }