Package com.sun.enterprise.universal
Class GFBase64Encoder
- java.lang.Object
-
- com.sun.enterprise.universal.GFBase64Encoder
-
public class GFBase64Encoder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected PrintStreampStream
-
Constructor Summary
Constructors Constructor Description GFBase64Encoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intbytesPerAtom()protected intbytesPerLine()Stringencode(byte[] var1)voidencode(byte[] var1, OutputStream var2)voidencode(InputStream var1, OutputStream var2)Stringencode(ByteBuffer var1)voidencode(ByteBuffer var1, OutputStream var2)protected voidencodeAtom(OutputStream var1, byte[] var2, int var3, int var4)StringencodeBuffer(byte[] var1)voidencodeBuffer(byte[] var1, OutputStream var2)voidencodeBuffer(InputStream var1, OutputStream var2)StringencodeBuffer(ByteBuffer var1)voidencodeBuffer(ByteBuffer var1, OutputStream var2)protected voidencodeBufferPrefix(OutputStream var1)protected voidencodeBufferSuffix(OutputStream var1)protected voidencodeLinePrefix(OutputStream var1, int var2)protected voidencodeLineSuffix(OutputStream var1)protected intreadFully(InputStream var1, byte[] var2)
-
-
-
Field Detail
-
pStream
protected PrintStream pStream
-
-
Method Detail
-
encodeBufferPrefix
protected void encodeBufferPrefix(OutputStream var1) throws IOException
- Throws:
IOException
-
encodeBufferSuffix
protected void encodeBufferSuffix(OutputStream var1) throws IOException
- Throws:
IOException
-
encodeLinePrefix
protected void encodeLinePrefix(OutputStream var1, int var2) throws IOException
- Throws:
IOException
-
encodeLineSuffix
protected void encodeLineSuffix(OutputStream var1) throws IOException
- Throws:
IOException
-
readFully
protected int readFully(InputStream var1, byte[] var2) throws IOException
- Throws:
IOException
-
encode
public void encode(InputStream var1, OutputStream var2) throws IOException
- Throws:
IOException
-
encode
public void encode(byte[] var1, OutputStream var2) throws IOException- Throws:
IOException
-
encode
public String encode(byte[] var1)
-
encode
public void encode(ByteBuffer var1, OutputStream var2) throws IOException
- Throws:
IOException
-
encode
public String encode(ByteBuffer var1)
-
encodeBuffer
public void encodeBuffer(InputStream var1, OutputStream var2) throws IOException
- Throws:
IOException
-
encodeBuffer
public void encodeBuffer(byte[] var1, OutputStream var2) throws IOException- Throws:
IOException
-
encodeBuffer
public String encodeBuffer(byte[] var1)
-
encodeBuffer
public void encodeBuffer(ByteBuffer var1, OutputStream var2) throws IOException
- Throws:
IOException
-
encodeBuffer
public String encodeBuffer(ByteBuffer var1)
-
bytesPerAtom
protected int bytesPerAtom()
-
bytesPerLine
protected int bytesPerLine()
-
encodeAtom
protected void encodeAtom(OutputStream var1, byte[] var2, int var3, int var4) throws IOException
- Throws:
IOException
-
-