|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcontrolP5.CP
public class CP
Constructor Summary | |
---|---|
CP()
|
Method Summary | |
---|---|
static java.lang.String |
arrayToString(java.lang.Object aArray)
* Convenience method for producing a simple textual representation of an array. |
static int |
byteArrayToInt(byte[] b)
|
static byte[] |
decodeBase64(java.lang.String base64)
|
static java.lang.String |
encodeBase64(byte[] raw)
|
static java.lang.String |
forHTMLTag(java.lang.String aTagFragment)
borrowed from http://www.javapractices.com/Topic96.cjp |
static java.lang.String |
forURL(java.lang.String aURLFragment)
borrowed from http://www.javapractices.com/Topic96.cjp |
static int |
getBit(int theByte,
int theIndex)
|
static boolean |
inside(int[] theRect,
float theX,
float theY)
|
static boolean |
inside(int[] theRect,
processing.core.PVector theVector)
|
static byte[] |
intToByteArray(int a)
|
static java.lang.String |
intToString(int theInt)
|
static int |
parseHex(java.lang.String theHex)
convert a hex number into an int |
static java.lang.String |
replace(java.lang.String theSourceString,
java.lang.String theSearchForString,
java.lang.String theReplaceString)
|
static byte |
setHigh(byte theByte,
int theIndex)
|
static byte |
setLow(byte theByte,
int theIndex)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CP()
Method Detail |
---|
public static java.lang.String arrayToString(java.lang.Object aArray)
The format of the returned String
is the same as
AbstractCollection.toString
:
aArray
is a possibly-null array whose elements are primitives or objects; arrays
of arrays are also valid, in which case aArray
is rendered in a nested,
recursive fashion.
public static int byteArrayToInt(byte[] b)
public static byte[] decodeBase64(java.lang.String base64)
public static java.lang.String encodeBase64(byte[] raw)
public static java.lang.String forHTMLTag(java.lang.String aTagFragment)
aTagFragment
- String
public static java.lang.String forURL(java.lang.String aURLFragment)
aURLFragment
- String
public static int getBit(int theByte, int theIndex)
public static boolean inside(int[] theRect, float theX, float theY)
public static boolean inside(int[] theRect, processing.core.PVector theVector)
public static byte[] intToByteArray(int a)
public static java.lang.String intToString(int theInt)
public static int parseHex(java.lang.String theHex)
theHex
-
public static java.lang.String replace(java.lang.String theSourceString, java.lang.String theSearchForString, java.lang.String theReplaceString)
public static byte setHigh(byte theByte, int theIndex)
public static byte setLow(byte theByte, int theIndex)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |