/** * Return printable representation of "this" atom. */ public final String toUnicodeString() throws java.io.UTFDataFormatException { return UTF8Convert.fromUTF8(val); }
/** * Return printable representation of "this" atom. */ public final String toUnicodeString() throws java.io.UTFDataFormatException { return UTF8Convert.fromUTF8(val); }
public static String fromUTF8(ImmutableByteArray s) { if (s == null) { throw new IllegalArgumentException("s is null"); } try { return fromUTF8(s.b); } catch (UTFDataFormatException e) { e.printStackTrace(); Assertions.UNREACHABLE(); return null; } } }
public static String fromUTF8(ImmutableByteArray s) { if (s == null) { throw new IllegalArgumentException("s is null"); } try { return fromUTF8(s.b); } catch (UTFDataFormatException e) { e.printStackTrace(); Assertions.UNREACHABLE(); return null; } } }