|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.semanticweb.owlapi.io.IOProperties
public class IOProperties
Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 10-Apr-2008
Field Summary | |
---|---|
static java.lang.String |
CONNECTION_ACCEPT_HTTP_COMPRESSION_PROPERTY_NAME
|
static java.lang.String |
CONNECTION_TIME_OUT_PROPERTY_NAME
|
static boolean |
DEFAULT_CONNECTION_ACCEPT_HTTP_COMPRESSION
|
static int |
DEFAULT_CONNECTION_TIME_OUT
|
Method Summary | |
---|---|
int |
getConnectionTimeout()
Gets the connection timeout that is used for sockets when loading ontologies over HTTP etc. |
static IOProperties |
getInstance()
|
boolean |
isConnectionAcceptHTTPCompression()
Determines whether HTTP compression can be used |
void |
setConnectionAcceptHTTPCompression(boolean connectionAcceptHTTPCompression)
Sets whether HTTP compression can be used. |
void |
setConnectionTimeout(int connectionTimeout)
Sets the connection timeout that should be used when loading from sockets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_CONNECTION_TIME_OUT
public static final java.lang.String CONNECTION_TIME_OUT_PROPERTY_NAME
public static final boolean DEFAULT_CONNECTION_ACCEPT_HTTP_COMPRESSION
public static final java.lang.String CONNECTION_ACCEPT_HTTP_COMPRESSION_PROPERTY_NAME
Method Detail |
---|
public static IOProperties getInstance()
public int getConnectionTimeout()
public void setConnectionTimeout(int connectionTimeout)
connectionTimeout
- The connection timeout in millisecondspublic boolean isConnectionAcceptHTTPCompression()
true
if HTTP compression can be used, otherwise
falsepublic void setConnectionAcceptHTTPCompression(boolean connectionAcceptHTTPCompression)
connectionAcceptHTTPCompression
- true
if HTTP compression can
be used, otherwise false
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |