|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jinahya.rfc3986.PercentEncoder
public class PercentEncoder
Percent Encoder.
| Constructor Summary | |
|---|---|
protected |
PercentEncoder()
Creates a new instance. |
| Method Summary | |
|---|---|
static byte[] |
encode(byte... input)
Encodes given input. |
static void |
encode(InputStream input,
OutputStream output)
Encodes bytes from input and write to output. |
static byte[] |
encode(String input)
Encodes given input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PercentEncoder()
| Method Detail |
|---|
public static byte[] encode(String input)
throws IOException
input.
input - string to encode
IOException - if an I/O error occurs.
public static byte[] encode(byte... input)
throws IOException
input.
input - bytes to encode
IOException - if an I/O error occurs
public static void encode(InputStream input,
OutputStream output)
throws IOException
input and write to output.
input - inputoutput - output
IOException - if an I/O error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||