|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.io.net.NetworkLib
public class NetworkLib
Generic handy network methods.
| Constructor Summary | |
|---|---|
NetworkLib()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
addressPart(java.lang.String portedAddress)
|
static java.io.InputStream |
attachStandardInputFilters(java.io.InputStream victim)
Use this to attach standard network input filters, based on NetworkConfig (e.g. |
static java.io.OutputStream |
attachStandardOutputFilters(java.io.OutputStream victim)
Use this to attach standard network output filters, based on NetworkConfig (e.g. |
static java.io.InputStream |
attachUncompressedInputFilters(java.io.InputStream victim)
Use this to attach standard network input filters, based on NetworkConfig, except for compression (which often behaves strangely for interactive sessions). |
static java.io.OutputStream |
attachUncompressedOutputFilters(java.io.OutputStream victim)
Use this to attach standard network output filters, based on NetworkConfig, except for compression (which often behaves strangely for interactive sessions). |
static int |
portPart(java.lang.String portedAddress)
|
static void |
reportBytesTransferred(java.lang.String type,
long count)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NetworkLib()
| Method Detail |
|---|
public static void reportBytesTransferred(java.lang.String type,
long count)
public static java.io.InputStream attachStandardInputFilters(java.io.InputStream victim)
throws java.io.IOException
java.io.IOException
public static java.io.OutputStream attachStandardOutputFilters(java.io.OutputStream victim)
throws java.io.IOException
java.io.IOException
public static java.io.InputStream attachUncompressedInputFilters(java.io.InputStream victim)
throws java.io.IOException
java.io.IOException
public static java.io.OutputStream attachUncompressedOutputFilters(java.io.OutputStream victim)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String addressPart(java.lang.String portedAddress)
public static int portPart(java.lang.String portedAddress)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||