All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.commons.encoding.DataInputExtended Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.commons.encoding;

import java.io.DataInput;
import java.io.DataInputStream;
import java.io.IOException;

public interface DataInputExtended extends DataInput {

	public boolean[] readBooleans() throws IOException;
	public char[] readChars() throws IOException;

	public byte[] readBytes() throws IOException;
	public short[] readShorts() throws IOException;
	public int[] readInts() throws IOException;
	public long[] readLongs() throws IOException;

	public float[] readFloats() throws IOException;
	public double[] readDoubles() throws IOException;

	public String[] readUTFs() throws IOException;

	public  T readEncodable(Class encodableType) throws IOException;
	public  T[] readEncodables(Class elementType) throws IOException;

	public  T readSerializable(Class serializableType) throws IOException;
	public  T[] readSerializables(Class elementType) throws IOException;
	
	/**
	 * Underlying {@link DataInputStream} to read in primitives.
	 */
	DataInputStream getDataInputStream();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy