Java Doc for serverObjects.java in  » Search-Engine » yacy » de » anomic » server » 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 » Search Engine » yacy » de.anomic.server 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.anomic.server.serverObjects

All known Subclasses:   de.anomic.server.servletProperties,
serverObjects
public class serverObjects extends HashMap implements Cloneable(Code)



Constructor Summary
public  serverObjects()
    
public  serverObjects(int initialCapacity)
    
public  serverObjects(Map<String, String> input)
    

Method Summary
public  Objectclone()
    
public  Objectget(String key, Object dflt)
    
public  Stringget(String key, String dflt)
    
public  String[]getAll(String keyMapper)
    
public  intgetInt(String key, int dflt)
    
public  longgetLong(String key, long dflt)
    
public  longinc(String key)
    
public  Stringput(String key, String value)
     Add a key-value pair of Objects to the map.
Parameters:
  key - This method will do nothing if the key is null.
Parameters:
  value - The value that should be mapped to the key.If value is null, then the element at keyis removed from the map.
public  Stringput(String key, byte[] value)
     Add byte array to the map, value is kept as it is.
Parameters:
  key - key name as String.
Parameters:
  value - mapped value as a byte array.
public  doubleput(String key, double value)
     Add an unformatted String representation of a double/float value to the map.
Parameters:
  key - key name as String.
Parameters:
  value - value as double/float.
public  longput(String key, long value)
    
public  Stringput(String key, java.util.Date value)
    
public  Stringput(String key, serverDate value)
    
public  Stringput(String key, InetAddress value)
    
public  voidputAll(serverObjects add)
    
public  StringputHTML(String key, String value)
     Add a String to the map.
public  StringputHTML(String key, String value, boolean forXML)
     Like serverObjects.putHTML(String,String) but takes an extra argument defining, if the returned String should be used in normal HTML: false.
public  StringputNum(String key, long value)
     Add a byte/long/integer to the map.
public  StringputNum(String key, double value)
     Variant for double/float types.
public  StringputNum(String key, String value)
     Variant for string encoded numbers.
public  StringputWiki(String key, String wikiCode)
    
public  StringputWiki(String key, byte[] wikiCode)
    
public  StringputWiki(String key, String wikiCode, String publicAddress)
    
public  StringputWiki(String key, byte[] wikiCode, String publicAddress)
    
public  voidsetLocalized(boolean loc)
     Defines the localization state of this object.
public  voidstore(File f)
    


Constructor Detail
serverObjects
public serverObjects()(Code)



serverObjects
public serverObjects(int initialCapacity)(Code)



serverObjects
public serverObjects(Map<String, String> input)(Code)




Method Detail
clone
public Object clone()(Code)



get
public Object get(String key, Object dflt)(Code)



get
public String get(String key, String dflt)(Code)



getAll
public String[] getAll(String keyMapper)(Code)



getInt
public int getInt(String key, int dflt)(Code)



getLong
public long getLong(String key, long dflt)(Code)



inc
public long inc(String key)(Code)



put
public String put(String key, String value)(Code)
Add a key-value pair of Objects to the map.
Parameters:
  key - This method will do nothing if the key is null.
Parameters:
  value - The value that should be mapped to the key.If value is null, then the element at keyis removed from the map. The value that was added to the map.
See Also:   java.util.Hashtable.put(KV)



put
public String put(String key, byte[] value)(Code)
Add byte array to the map, value is kept as it is.
Parameters:
  key - key name as String.
Parameters:
  value - mapped value as a byte array. the previous value as String.



put
public double put(String key, double value)(Code)
Add an unformatted String representation of a double/float value to the map.
Parameters:
  key - key name as String.
Parameters:
  value - value as double/float. value as it was added to the map or NaN if an error occured.



put
public long put(String key, long value)(Code)
same as serverObjects.put(String,double) but for integer types Returns 0 for the error case.



put
public String put(String key, java.util.Date value)(Code)



put
public String put(String key, serverDate value)(Code)



put
public String put(String key, InetAddress value)(Code)



putAll
public void putAll(serverObjects add)(Code)



putHTML
public String putHTML(String key, String value)(Code)
Add a String to the map. The content of the String is escaped to be usable in HTML output.
Parameters:
  key - key name as String.
Parameters:
  value - a String that will be reencoded for HTML output. the modified String that was added to the map.
See Also:   htmlTools.encodeUnicode2html(Stringboolean)



putHTML
public String putHTML(String key, String value, boolean forXML)(Code)
Like serverObjects.putHTML(String,String) but takes an extra argument defining, if the returned String should be used in normal HTML: false. If forXML is true, then only the characters & " < > will be replaced in the returned String.



putNum
public String putNum(String key, long value)(Code)
Add a byte/long/integer to the map. The number will be encoded into a String using a localized format specified by yFormatter and serverObjects.setLocalized(boolean) .
Parameters:
  key - key name as String.
Parameters:
  value - integer type value to be added to the map in its formatted String representation. the String value added to the map.



putNum
public String putNum(String key, double value)(Code)
Variant for double/float types.
See Also:   serverObjects.putNum(String,long)



putNum
public String putNum(String key, String value)(Code)
Variant for string encoded numbers.
See Also:   serverObjects.putNum(String,long)



putWiki
public String putWiki(String key, String wikiCode)(Code)



putWiki
public String putWiki(String key, byte[] wikiCode)(Code)



putWiki
public String putWiki(String key, String wikiCode, String publicAddress)(Code)



putWiki
public String putWiki(String key, byte[] wikiCode, String publicAddress)(Code)



setLocalized
public void setLocalized(boolean loc)(Code)
Defines the localization state of this object. Currently it is used for numbers added with the putNum() methods only.
Parameters:
  loc - if true store numbers in a localized format, otherwiseuse a default english locale without grouping.
See Also:   yFormatter.setLocale(String)
See Also:   



store
public void store(File f) throws IOException(Code)



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