@Test public void canEncodeAsciiWithAsciiString() { assertTrue(EncodeUtils.canAsciiEncode("foo")); }
public static boolean canAsciiEncode(String text) { return Charsets.US_ASCII.newEncoder().canEncode(text); }
EncodeUtils { public static boolean canAsciiEncode(String text) { return Charsets.US_ASCII.newEncoder().canEncode(text); } }
EncodeUtils { public static boolean canAsciiEncode(String text) { return Charsets.US_ASCII.newEncoder().canEncode(text); } private  EncodeUtils(); }
EncodeUtils { public static boolean canAsciiEncode(String text) { return Charsets.US_ASCII.newEncoder().canEncode(text); } private  EncodeUtils(); @NonNull static String decode(@NonNull ByteBuffer bytes, int length, @NonNull GPFlags flags); @NonNull static String decode(@NonNull byte[] data, @NonNull GPFlags flags); @NonNull static byte[] encode(@NonNull String name, @NonNull GPFlags flags); static boolean canAsciiEncode(String text); }
EncodeUtils { public static boolean canAsciiEncode(String text) { return Charsets.US_ASCII.newEncoder().canEncode(text); } private  EncodeUtils(); @NonNull static String decode(@NonNull ByteBuffer bytes, int length, @NonNull GPFlags flags); @NonNull static String decode(@NonNull byte[] data, @NonNull GPFlags flags); @NonNull static byte[] encode(@NonNull String name, @NonNull GPFlags flags); static boolean canAsciiEncode(String text);  }