com.webobjects.directtoweb
Class Services
java.lang.Object
|
+--com.webobjects.directtoweb.Services
- public class Services
- extends Object
Method Summary |
static String |
breakDown(String inputString,
int cols)
|
static String |
capitalize(String s)
|
static NSDictionary |
dictionaryFromFile(File f)
|
static NSArray |
flatten(NSArray array)
|
static String |
formKeyForKey(String key)
|
static String |
htmlify(String s)
|
static String |
htmlQuotify(String s)
|
static void |
mergeHashtableIntoHashtable(Hashtable from,
Hashtable to)
|
static void |
mergeVectorIntoVector(Vector list,
Vector target)
|
static void |
mergeVectorIntoVectorWithoutDuplicates(Vector list,
Vector target)
|
static Object |
objectFromPListFile(File f)
|
static String |
plurify(String s,
int howMany)
|
static String |
replace(String contentsString,
String searchString,
String replaceString)
|
static String |
replace(String contentsString,
String searchString,
String replaceString,
int startPosition,
int endPosition)
|
static void |
replaceFileContents(File f,
String s)
|
static Vector |
vectorFromImmutableVector(NSArray iv)
|
static void |
writeDictionaryToFile(NSDictionary d,
File f)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Services
public Services()
breakDown
public static String breakDown(String inputString,
int cols)
capitalize
public static String capitalize(String s)
dictionaryFromFile
public static NSDictionary dictionaryFromFile(File f)
throws IOException
flatten
public static NSArray flatten(NSArray array)
formKeyForKey
public static String formKeyForKey(String key)
htmlQuotify
public static String htmlQuotify(String s)
htmlify
public static String htmlify(String s)
mergeHashtableIntoHashtable
public static void mergeHashtableIntoHashtable(Hashtable from,
Hashtable to)
mergeVectorIntoVector
public static void mergeVectorIntoVector(Vector list,
Vector target)
mergeVectorIntoVectorWithoutDuplicates
public static void mergeVectorIntoVectorWithoutDuplicates(Vector list,
Vector target)
objectFromPListFile
public static Object objectFromPListFile(File f)
throws IOException
plurify
public static String plurify(String s,
int howMany)
replace
public static String replace(String contentsString,
String searchString,
String replaceString,
int startPosition,
int endPosition)
replace
public static String replace(String contentsString,
String searchString,
String replaceString)
replaceFileContents
public static void replaceFileContents(File f,
String s)
throws IOException
vectorFromImmutableVector
public static Vector vectorFromImmutableVector(NSArray iv)
writeDictionaryToFile
public static void writeDictionaryToFile(NSDictionary d,
File f)
throws IOException
Copyright © 2003 Apple Computer, Inc.