Code example for DataInputStream

Methods: readCharreadUTF

0
	public Attr(String name){
		this.name = name;
	} 
 
	public Attr(DataInputStream in) throws IOException {
		name = in.readUTF();
		in.readChar();
		value = in.readUTF();
	} 
 
	public Attr(String name , Object value){
		this.name = name;
		this.value = value;
	} 
 
	public String getName(){
		return name;
	} 
 
	public Object getValue(){
Stop searching for code, let great code find you!  Add Codota to your java IDE