Java Doc for Utils.java in  » Web-Server » Acme-WebServer » Acme » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Acme WebServer » Acme 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   Acme.Utils

Utils
public class Utils (Code)


Field Summary
final public static  longINT_DAY
    
final public static  longINT_DECADE
    
final public static  longINT_HOUR
    
final public static  longINT_MINUTE
    
final public static  longINT_MONTH
    
final public static  longINT_SECOND
    
final public static  longINT_WEEK
    
final public static  longINT_YEAR
    
final static  SimpleDateFormatlongfmt
    
final static  SimpleDateFormatshortfmt
    


Method Summary
public static  StringabsoluteUrlStr(String urlStr, URL contextUrl)
    
public static  StringarrayToString(Object o)
    
public static  booleanarraycontains(Object[] array, Object element)
    
public static  StringbaseUrlStr(String urlStr)
    
public static  intcharCount(String str, char c)
    
public static  voidcopyStream(InputStream in, OutputStream out)
    
public static  voidcopyStream(Reader in, Writer out)
    
public static  voidcopyStream(InputStream in, Writer out)
    
public static  voidcopyStream(Reader in, OutputStream out)
    
public static  intcountOnes(byte n)
    
public static  intcountOnes(int n)
    
public static  intcountOnes(long n)
    
public static  voiddumpStack(PrintStream p)
    
public static  voiddumpStack()
    
public static  booleanequalsStrings(String[] strings1, String[] strings2)
    
public static  booleaneven(long n)
    
public static  StringfixDirUrlStr(String urlStr)
    
public static  StringflattenStrarr(String[] strs)
    
public static  intindexOfString(String[] strings, String string)
    
public static  intindexOfStringIgnoreCase(String[] strings, String string)
    
public static  booleaninstanceOf(Object o, Class cl)
    
public static  StringintervalStr(long interval)
    
public static  StringlsDateStr(Date date)
    
public static  booleanmatch(String pattern, String string)
    
public static  intmatchSpan(String pattern, String string)
    
static  intmatchSpan1(String pattern, String string)
    
public static  booleanodd(long n)
    
public static  intparseInt(String str, int def)
    
public static  longparseLong(String str, long def)
    
public static  URLplainUrl(URL context, String urlStr)
    
public static  URLplainUrl(String urlStr)
    
public static  StringpluralStr(long n)
    
public static  InputStreampopenr(String cmd)
    
public static  OutputStreampopenw(String cmd)
    
public static  longpow(long a, long b)
    
public static  voidputAll(Hashtable _dest, Hashtable _src)
    
public static  intread(InputStream in, byte[] b, int off, int len)
    
public static  intreadFully(InputStream in, byte[] b, int off, int len)
    
public static  ProcessrunCommand(String cmd)
    
public static  intsameSpan(String str1, String str2)
    
public static  voidsortStrings(String[] strings)
    
public static  String[]splitStr(String str)
    
public static  String[]splitStr(String str, char delim)
    
public static  intstrCSpan(String str, String charSet)
    
public static  intstrCSpan(String str, String charSet, int fromIdx)
    
public static  intstrSpan(String str, String charSet)
    
public static  intstrSpan(String str, String charSet, int fromIdx)
    
public static  intsystem(String cmd)
    
public static  StringurlDecoder(String encoded)
    
public static  booleanurlStrIsAbsolute(String urlStr)
    
public static  booleanurlStrIsDir(String urlStr)
    

Field Detail
INT_DAY
final public static long INT_DAY(Code)



INT_DECADE
final public static long INT_DECADE(Code)



INT_HOUR
final public static long INT_HOUR(Code)



INT_MINUTE
final public static long INT_MINUTE(Code)



INT_MONTH
final public static long INT_MONTH(Code)



INT_SECOND
final public static long INT_SECOND(Code)



INT_WEEK
final public static long INT_WEEK(Code)



INT_YEAR
final public static long INT_YEAR(Code)



longfmt
final static SimpleDateFormat longfmt(Code)



shortfmt
final static SimpleDateFormat shortfmt(Code)





Method Detail
absoluteUrlStr
public static String absoluteUrlStr(String urlStr, URL contextUrl) throws MalformedURLException(Code)



arrayToString
public static String arrayToString(Object o)(Code)



arraycontains
public static boolean arraycontains(Object[] array, Object element)(Code)



baseUrlStr
public static String baseUrlStr(String urlStr)(Code)



charCount
public static int charCount(String str, char c)(Code)



copyStream
public static void copyStream(InputStream in, OutputStream out) throws IOException(Code)



copyStream
public static void copyStream(Reader in, Writer out) throws IOException(Code)



copyStream
public static void copyStream(InputStream in, Writer out) throws IOException(Code)



copyStream
public static void copyStream(Reader in, OutputStream out) throws IOException(Code)



countOnes
public static int countOnes(byte n)(Code)



countOnes
public static int countOnes(int n)(Code)



countOnes
public static int countOnes(long n)(Code)



dumpStack
public static void dumpStack(PrintStream p)(Code)



dumpStack
public static void dumpStack()(Code)



equalsStrings
public static boolean equalsStrings(String[] strings1, String[] strings2)(Code)



even
public static boolean even(long n)(Code)



fixDirUrlStr
public static String fixDirUrlStr(String urlStr)(Code)



flattenStrarr
public static String flattenStrarr(String[] strs)(Code)



indexOfString
public static int indexOfString(String[] strings, String string)(Code)



indexOfStringIgnoreCase
public static int indexOfStringIgnoreCase(String[] strings, String string)(Code)



instanceOf
public static boolean instanceOf(Object o, Class cl)(Code)



intervalStr
public static String intervalStr(long interval)(Code)



lsDateStr
public static String lsDateStr(Date date)(Code)



match
public static boolean match(String pattern, String string)(Code)



matchSpan
public static int matchSpan(String pattern, String string)(Code)



matchSpan1
static int matchSpan1(String pattern, String string)(Code)



odd
public static boolean odd(long n)(Code)



parseInt
public static int parseInt(String str, int def)(Code)



parseLong
public static long parseLong(String str, long def)(Code)



plainUrl
public static URL plainUrl(URL context, String urlStr) throws MalformedURLException(Code)



plainUrl
public static URL plainUrl(String urlStr) throws MalformedURLException(Code)



pluralStr
public static String pluralStr(long n)(Code)



popenr
public static InputStream popenr(String cmd)(Code)



popenw
public static OutputStream popenw(String cmd)(Code)



pow
public static long pow(long a, long b) throws ArithmeticException(Code)



putAll
public static void putAll(Hashtable _dest, Hashtable _src)(Code)



read
public static int read(InputStream in, byte[] b, int off, int len) throws IOException(Code)



readFully
public static int readFully(InputStream in, byte[] b, int off, int len) throws IOException(Code)



runCommand
public static Process runCommand(String cmd) throws IOException(Code)



sameSpan
public static int sameSpan(String str1, String str2)(Code)



sortStrings
public static void sortStrings(String[] strings)(Code)



splitStr
public static String[] splitStr(String str)(Code)



splitStr
public static String[] splitStr(String str, char delim)(Code)



strCSpan
public static int strCSpan(String str, String charSet)(Code)



strCSpan
public static int strCSpan(String str, String charSet, int fromIdx)(Code)



strSpan
public static int strSpan(String str, String charSet)(Code)



strSpan
public static int strSpan(String str, String charSet, int fromIdx)(Code)



system
public static int system(String cmd)(Code)



urlDecoder
public static String urlDecoder(String encoded)(Code)



urlStrIsAbsolute
public static boolean urlStrIsAbsolute(String urlStr)(Code)



urlStrIsDir
public static boolean urlStrIsDir(String urlStr)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.