From 21b552e0dc6632268c93f7657343cfc00e75a751 Mon Sep 17 00:00:00 2001 From: Tom Faulhaber Date: Wed, 28 Oct 2009 18:58:19 -0700 Subject: Updated documentation for commit 8eef617aac7b077421d4aa9c84a2df189af6ee17 --- java-utils-api.html | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) (limited to 'java-utils-api.html') diff --git a/java-utils-api.html b/java-utils-api.html index b1cd54be..e475edff 100644 --- a/java-utils-api.html +++ b/java-utils-api.html @@ -55,6 +55,10 @@ namespace. as-str
as-url +
+ delete-file +
+ delete-file-recursively
file
@@ -94,7 +98,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


@@ -104,7 +108,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


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


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

delete-file

+ function
+
Usage: (delete-file f & [silently])
+
+
Delete file f. Raise an exception if it fails unless silently is true.
+ Source +
+
+
+

delete-file-recursively

+ function
+
Usage: (delete-file-recursively f & [silently])
+
+
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


@@ -147,7 +170,7 @@ Example: (file parent child & more)
Returns a java.io.File from string or file args.
- Source + Source


@@ -157,7 +180,7 @@ Example: (get-system-property stringable default)
Get a system property.
- Source + Source


@@ -166,7 +189,7 @@ Example:
Usage: (read-properties file-able)
 
Read properties from file-able.
- Source + Source


@@ -175,7 +198,7 @@ Example:
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


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


@@ -197,7 +220,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


@@ -207,7 +230,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