From e3fcbfd9d3afcdf857e8405f074596de13a3a3fe Mon Sep 17 00:00:00 2001 From: Tom Faulhaber Date: Fri, 6 Nov 2009 22:36:58 -0800 Subject: Updated documentation for commit cc4e2ec2bf558f059330ebc97a031d7806a1e364 --- java-utils-api.html | 51 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 13 deletions(-) (limited to 'java-utils-api.html') diff --git a/java-utils-api.html b/java-utils-api.html index e475edff..1420dd39 100644 --- a/java-utils-api.html +++ b/java-utils-api.html @@ -69,6 +69,10 @@ namespace. relative-path-string
set-system-properties +
+ wall-hack-field +
+ wall-hack-method
with-system-properties
@@ -98,7 +102,7 @@ by Unknown
Interpret a String or a java.io.File as a File. Building block
 for clojure.contrib.java-utils/file, which you should prefer
 in most cases.
- Source + Source


@@ -108,7 +112,7 @@ in most cases.
Convert any seq of pairs to a java.utils.Properties instance.
 Uses as-str to convert both keys and values into strings.
- Source + Source


@@ -131,7 +135,7 @@ data structures; they will be rendered as with str. Example: (str {:foo :bar}) ;;=> "{:foo :bar}" (as-str {:foo :bar}) ;;=> "{:foo :bar}" - Source + Source


@@ -140,7 +144,7 @@ Example:
Usage: (as-url arg)
 
Coerces argument (URL, URI, or String) to a java.net.URL.
- Source + Source


@@ -149,7 +153,7 @@ Example:
Usage: (delete-file f & [silently])
 
Delete file f. Raise an exception if it fails unless silently is true.
- Source + Source


@@ -159,7 +163,7 @@ Example:
Delete file f. If it's a directory, recursively delete all its contents.
 Raise an exception if any deletion fails unless silently is true.
- Source + Source


@@ -170,7 +174,7 @@ Raise an exception if any deletion fails unless silently is true. (file parent child & more)
Returns a java.io.File from string or file args.
- Source + Source


@@ -180,7 +184,7 @@ Raise an exception if any deletion fails unless silently is true. (get-system-property stringable default)
Get a system property.
- Source + Source


@@ -189,7 +193,7 @@ Raise an exception if any deletion fails unless silently is true.
Usage: (read-properties file-able)
 
Read properties from file-able.
- Source + Source


@@ -198,7 +202,7 @@ Raise an exception if any deletion fails unless silently is true.
No usage documentation available
Interpret a String or java.io.File as a relative path string. 
 Building block for clojure.contrib.java-utils/file.
- Source + Source


@@ -207,7 +211,28 @@ Building block for clojure.contrib.java-utils/file.
Usage: (set-system-properties settings)
 
Set some system properties. Nil clears a property.
- Source + Source +
+
+
+

wall-hack-field

+ function
+
Usage: (wall-hack-field class-name field-name obj)
+
+
Access to private or protected field.
+ Source +
+
+
+

wall-hack-method

+ function
+
Usage: (wall-hack-method class-name method-name params obj & args)
+
+
Calls a private or protected method.
+params is a vector of class which correspond to the arguments to the method
+obj is nil for static methods, the instance object otherwise
+the method name is given as a symbol or a keyword (something Named)
+ Source


@@ -220,7 +245,7 @@ Building block for clojure.contrib.java-utils/file. Sets the system properties to the supplied values, executes the body, and sets the properties back to their original values. Values of nil are translated to a clearing of the property. - Source + Source


@@ -230,7 +255,7 @@ translated to a clearing of the property. (write-properties m file-able comments)
Write properties to file-able.
- Source + Source
-- cgit v1.2.3-70-g09d2