org.elasticsearch.common.io.stream
Class HandlesStreamOutput

java.lang.Object
  extended by java.io.OutputStream
      extended by org.elasticsearch.common.io.stream.StreamOutput
          extended by org.elasticsearch.common.io.stream.AdapterStreamOutput
              extended by org.elasticsearch.common.io.stream.HandlesStreamOutput
All Implemented Interfaces:
Closeable, Flushable

public class HandlesStreamOutput
extends AdapterStreamOutput


Field Summary
 
Fields inherited from class org.elasticsearch.common.io.stream.AdapterStreamOutput
out
 
Constructor Summary
HandlesStreamOutput(StreamOutput out)
           
HandlesStreamOutput(StreamOutput out, int identityThreshold)
           
 
Method Summary
 void clear()
           
 void reset()
           
 void writeString(String s)
           
 void writeUTF(String s)
          Deprecated. 
 
Methods inherited from class org.elasticsearch.common.io.stream.AdapterStreamOutput
close, flush, position, seek, seekPositionSupported, setOut, toString, wrappedOut, write, write, write, writeBoolean, writeByte, writeBytes, writeBytes, writeBytes, writeBytesReference, writeDouble, writeFloat, writeInt, writeLong, writeText, writeVInt, writeVLong
 
Methods inherited from class org.elasticsearch.common.io.stream.StreamOutput
writeGenericValue, writeMap, writeOptionalString, writeOptionalUTF, writeShort, writeStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HandlesStreamOutput

public HandlesStreamOutput(StreamOutput out)

HandlesStreamOutput

public HandlesStreamOutput(StreamOutput out,
                           int identityThreshold)
Method Detail

writeUTF

@Deprecated
public void writeUTF(String s)
              throws IOException
Deprecated. 

Description copied from class: StreamOutput
Writes a string.

Overrides:
writeUTF in class AdapterStreamOutput
Throws:
IOException

writeString

public void writeString(String s)
                 throws IOException
Overrides:
writeString in class AdapterStreamOutput
Throws:
IOException

reset

public void reset()
           throws IOException
Overrides:
reset in class AdapterStreamOutput
Throws:
IOException

clear

public void clear()


Copyright © 2009-2012. All Rights Reserved.