Package org.xhtmlrenderer.util
Class Util
java.lang.Object
org.xhtmlrenderer.util.Util
- Direct Known Subclasses:
Uu
Description of the Class
- Author:
- empty
-
Constructor Summary
ConstructorsConstructorDescriptionUtil
(OutputStream out) Constructor for the Util objectUtil
(PrintWriter writer) Constructor for the Util object -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Description of the Methodstatic void
Description of the Methodstatic String
file_to_string
(File file) Description of the Methodstatic String
file_to_string
(String filename) Description of the Methodstatic String
Description of the Methodstatic boolean
Gets the number attribute of the Util classstatic String[]
Description of the Methodvoid
Description of the Methodvoid
print_array
(byte[] array) Description of the Methodvoid
print_array
(int[] array) Description of the Methodvoid
print_array
(int[][] array) Description of the Methodvoid
print_array
(Object[] array) Description of the Methodvoid
print_calendar
(Calendar cal) Description of the Methodvoid
print_date
(Date date) Description of the Methodvoid
Description of the Methodvoid
Description of the Methodvoid
Description of the Methodvoid
Description of the Methodvoid
printUnixtime
(long sec) Description of the Methodstatic String
Description of the Methodvoid
setOn
(boolean on) Sets the on attribute of the Util objectvoid
setPrintWriter
(PrintWriter writer) Sets the printWriter attribute of the Util objectstatic void
sleep
(long msec) Description of the Methodstatic String
Description of the Methodstatic String
Description of the Methodstatic void
string_to_file
(String text, File file) Description of the Methodstatic int
string_to_int
(String str) Description of the Methodstatic List
Description of the Methodstatic List
Description of the Methodstatic String[]
Description of the Method
-
Constructor Details
-
Util
Constructor for the Util object- Parameters:
writer
- PARAM
-
Util
Constructor for the Util object- Parameters:
out
- PARAM
-
-
Method Details
-
print
Description of the Method- Parameters:
o
- PARAM
-
println
Description of the Method- Parameters:
o
- PARAM
-
println
Description of the Method- Parameters:
o
- PARAMline
- PARAM
-
print_vector
Description of the Method- Parameters:
v
- PARAM
-
print_array
public void print_array(int[][] array) Description of the Method- Parameters:
array
- PARAM
-
print_array
Description of the Method- Parameters:
array
- PARAM
-
print_array
public void print_array(int[] array) Description of the Method- Parameters:
array
- PARAM
-
print_hashtable
Description of the Method- Parameters:
h
- PARAM
-
print_array
public void print_array(byte[] array) Description of the Method- Parameters:
array
- PARAM
-
print_date
Description of the Method- Parameters:
date
- PARAM
-
print_calendar
Description of the Method- Parameters:
cal
- PARAM
-
printUnixtime
public void printUnixtime(long sec) Description of the Method- Parameters:
sec
- PARAM
-
setOn
public void setOn(boolean on) Sets the on attribute of the Util object- Parameters:
on
- The new on value
-
setPrintWriter
Sets the printWriter attribute of the Util object- Parameters:
writer
- The new printWriter value
-
file_to_string
Description of the Method- Parameters:
filename
- PARAM- Returns:
- Returns
- Throws:
FileNotFoundException
- ThrowsIOException
- Throws
-
string_to_file
Description of the Method- Parameters:
text
- PARAMfile
- PARAM- Throws:
IOException
- Throws
-
string_to_int
Description of the Method- Parameters:
str
- PARAM- Returns:
- Returns
-
stack_to_string
Description of the Method- Parameters:
e
- PARAM- Returns:
- Returns
-
stack_to_string
Description of the Method- Parameters:
e
- PARAM- Returns:
- Returns
-
inputstream_to_string
Description of the Method- Parameters:
in
- PARAM- Returns:
- Returns
- Throws:
IOException
- Throws
-
file_to_string
Description of the Method- Parameters:
file
- PARAM- Returns:
- Returns
- Throws:
FileNotFoundException
- ThrowsIOException
- Throws
-
replace
Description of the Method- Parameters:
source
- PARAMtarget
- PARAMreplacement
- PARAM- Returns:
- Returns
-
vector_to_strings
Description of the Method- Parameters:
v
- PARAM- Returns:
- Returns
-
list_to_strings
Description of the Method- Parameters:
l
- PARAM- Returns:
- Returns
-
toList
Description of the Method- Parameters:
array
- PARAM- Returns:
- Returns
-
to_list
Description of the Method- Parameters:
array
- PARAM- Returns:
- Returns
-
sleep
public static void sleep(long msec) Description of the Method- Parameters:
msec
- PARAM
-
center
Description of the Method- Parameters:
frame
- PARAM
-
center
Description of the Method- Parameters:
frame
- PARAM
-
isNumber
Gets the number attribute of the Util class- Parameters:
str
- PARAM- Returns:
- The number value
-