org.restlet.engine.io
Class IoUtils

java.lang.Object
  extended by org.restlet.engine.io.IoUtils

public class IoUtils
extends Object

IO manipulation utilities.

Author:
Thierry Boileau

Field Summary
static int BUFFER_SIZE
          The size to use when instantiating buffered items such as instances of the BufferedReader class.
static int TIMEOUT_MS
          The number of milliseconds after which IO operation will time out.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUFFER_SIZE

public static final int BUFFER_SIZE
The size to use when instantiating buffered items such as instances of the BufferedReader class. It looks for the System property "org.restlet.engine.io.bufferSize" and if not defined, uses the "8192" default value.


TIMEOUT_MS

public static final int TIMEOUT_MS
The number of milliseconds after which IO operation will time out. It looks for the System property "org.restlet.engine.io.timeoutMs" and if not defined, uses the "60000" default value.



Copyright © 2005-2013 Restlet.