private Meta loadMeta() throws IOException, NumberFormatException, JSONException, ParseException { return Meta.valueOf(FileUtils.readFileToString(getMetaFile(), META_ENCODING)); }
/** * Converts the byte form of the name to an enum. * * @param key the key as bytes * @return the enum form */ public static Meta fromBytes(byte[] key) { return Meta.valueOf(new String(key).substring("gemfire.".length())); }