com.googlecode.jinahya.rfc3986
Class PercentBinaryDecoderProxy
java.lang.Object
com.googlecode.jinahya.rfc3986.PercentBinaryDecoderProxy
- All Implemented Interfaces:
- InvocationHandler
public class PercentBinaryDecoderProxy
- extends Object
- implements InvocationHandler
Proxy for org.apache.commons.codec.BinaryDecoder.
// create
final BinaryDecoder decoder = (BinaryDecoder)
PercentBinaryDecoderProxy.newInstance();
// decode String
decoder.decode("");
// decode byte array
decoder.decode(new byte[0]);
- Author:
- Jin Kwon
- See Also:
- BinaryDecoder (Apache Commons Codec)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentBinaryDecoderProxy
protected PercentBinaryDecoderProxy()
- 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.