CodecSupport.isByteSource

Returns {@code true} if the specified object can be easily converted to bytes by instances of this class, {@code false} otherwise. <p/> The default implementation returns {@code true} IFF the specified object is an instance of one of the following types: <ul> <li>{@code byte[]}</li> <li>{@code char[]}</li> <li>{@link ByteSource}</li> <li>{@link String}</li> <li>{@link File}</li> </li>{@link InputStream}</li> </ul>

@param o the object to test to see if it can be easily converted to a byte array @return {@code true} if the specified object can be easily converted to bytes by instances of this class, {@code false} otherwise. @since 1.0

class CodecSupport
protected
bool
isByteSource
(
Object o
)

Meta