com.googlecode.jinahya.rfc3986
Class PercentBinaryEncoderProxy
java.lang.Object
com.googlecode.jinahya.rfc3986.PercentBinaryEncoderProxy
- All Implemented Interfaces:
- InvocationHandler
public class PercentBinaryEncoderProxy
- extends Object
- implements InvocationHandler
Proxy for org.apache.commons.codec.BinaryEncoder.
// create
final BinaryEncoder encoder = (BinaryEncoder)
PercentBinaryEncoderProxy.newInstance();
// encode String
encoder.encode("");
// encode byte array
encoder.encode(new byte[0]);
- Author:
- Jin Kwon
- See Also:
- BinaryEncoder (Apache Commons Codec)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentBinaryEncoderProxy
protected PercentBinaryEncoderProxy()
- Creates a new instance.
newInstance
public static Object newInstance()
- Creates a new instance.
- Returns:
- a new proxy instance.
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2011. All Rights Reserved.