public ByteArrayDataSource(byte[] data,String type){
  m_data=data;
  if (type != null && type.length() > 0)   m_type=type;
}

public ByteArrayDataSource ( byte [ ] data , String type ) { m_data = data ; if ( type != null && type . length ( ) > 0 ) m_type = type ; }
create a datasource from a byte array
