net.sf.json.converter
Class ByteArrayConverter

java.lang.Object
  extended by net.sf.json.converter.AbstractArrayConverter
      extended by net.sf.json.converter.ByteArrayConverter
All Implemented Interfaces:
Converter

public class ByteArrayConverter
extends AbstractArrayConverter

Converts an array to a byte[].

Author:
Andres Almiray

Constructor Summary
ByteArrayConverter()
           
ByteArrayConverter(byte defaultValue)
           
 
Method Summary
 java.lang.Object convert(java.lang.Object array)
           
 byte getDefaultValue()
           
 void setDefaultValue(byte defaultValue)
           
 
Methods inherited from class net.sf.json.converter.AbstractArrayConverter
createDimensions, getDimensions, isUseDefault, setUseDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayConverter

public ByteArrayConverter()

ByteArrayConverter

public ByteArrayConverter(byte defaultValue)
Method Detail

convert

public java.lang.Object convert(java.lang.Object array)
Specified by:
convert in class AbstractArrayConverter

getDefaultValue

public byte getDefaultValue()

setDefaultValue

public void setDefaultValue(byte defaultValue)


Copyright © 2006 null. All Rights Reserved.