LimeWire Consolidated API

com.limegroup.gnutella
Class Constants

java.lang.Object
  extended by com.limegroup.gnutella.Constants

public final class Constants
extends Object

A class to keep together the constants that may be used by multiple classes

Author:
Anurag Singla

Field Summary
static String ENTRY_SEPARATOR
           
static String FILE_MIME_TYPE
          Mime Type to be used when uploading files.
static String HTML_MIME_TYPE
          Mime Type to be used when showing HTML files.
static long MAX_FILE_SIZE
          Maximum file size we'll share
static long MINUTE
          how long a minute is.
static String QUERYREPLY_MIME_TYPE
          Mime Type to be used when returning QueryReplies on receiving a HTTP request (or some other content request)
static int TIMEOUT
          Constant for the timeout to use on sockets.
static String UTF_8_ENCODING
          Identifier for UTF-8 encoding
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENTRY_SEPARATOR

public static final String ENTRY_SEPARATOR
See Also:
Constant Field Values

QUERYREPLY_MIME_TYPE

public static final String QUERYREPLY_MIME_TYPE
Mime Type to be used when returning QueryReplies on receiving a HTTP request (or some other content request)

See Also:
Constant Field Values

FILE_MIME_TYPE

public static final String FILE_MIME_TYPE
Mime Type to be used when uploading files.

See Also:
Constant Field Values

HTML_MIME_TYPE

public static final String HTML_MIME_TYPE
Mime Type to be used when showing HTML files.

See Also:
Constant Field Values

TIMEOUT

public static final int TIMEOUT
Constant for the timeout to use on sockets.

See Also:
Constant Field Values

MINUTE

public static long MINUTE
how long a minute is. Not final so that tests can change it.


UTF_8_ENCODING

public static final String UTF_8_ENCODING
Identifier for UTF-8 encoding

See Also:
Constant Field Values

MAX_FILE_SIZE

public static final long MAX_FILE_SIZE
Maximum file size we'll share

See Also:
Constant Field Values

LimeWire Consolidated API

Copyright © 2009. All Rights Reserved.