Searched refs:Encoder (Results 1 – 2 of 2) sorted by relevance
87 public static Encoder getEncoder() { in getEncoder()88 return Encoder.RFC4648; in getEncoder()98 public static Encoder getUrlEncoder() { in getUrlEncoder()99 return Encoder.RFC4648_URLSAFE; in getUrlEncoder()108 public static Encoder getMimeEncoder() { in getMimeEncoder()109 return Encoder.RFC2045; in getMimeEncoder()130 public static Encoder getMimeEncoder(int lineLength, byte[] lineSeparator) { in getMimeEncoder()139 return Encoder.RFC4648; in getMimeEncoder()141 return new Encoder(false, lineSeparator, lineLength >> 2 << 2, true); in getMimeEncoder()190 public static class Encoder { class in Base64[all …]
31 import java.util.Base64.Encoder;83 Encoder encoder) { in checkAlphabet()519 private static void checkEncoder_nullArgs(Encoder encoder) { in checkEncoder_nullArgs()528 Encoder encoder = Base64.getUrlEncoder(); in testEncoder_nonPrintableBytes()556 Encoder encoder = Base64.getMimeEncoder(); in testEncoder_lineLength()637 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeArrayToArray()670 Encoder encoder = Base64.getEncoder(); in testEncoder_encodeByteBuffer()695 Encoder encoder, ByteBuffer inputBuffer, byte[] expectedBytes) { in testEncoder_encodeByteBuffer()724 private static void checkRoundTrip_empty(Encoder encoder, Decoder decoder) { in checkRoundTrip_empty()782 private static void checkRoundTrip_simple(Encoder encoder, Decoder decoder) throws Exception { in checkRoundTrip_simple()[all …]