Java Doc for PIMImpl.java in  » 6.0-JDK-Modules » j2me » com » sun » kvem » midp » pim » 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 » 6.0 JDK Modules » j2me » com.sun.kvem.midp.pim 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.microedition.pim.PIM
      com.sun.kvem.midp.pim.PIMImpl

PIMImpl
final public class PIMImpl extends PIM (Code)
Implementation of PIM.



Constructor Summary
public  PIMImpl()
     PIMImpl constructor, called from PIM.getInstance().

Method Summary
public  PIMItem[]fromSerialFormat(InputStream is, String enc)
     Gets an array of PIM items from an encoded input stream.
public  String[]listPIMLists(int pimListType)
     Gets the current PIM lists.
public  PIMListopenPIMList(int pimListType, int mode)
     Opens the PIM list.
public  PIMListopenPIMList(int pimListType, int mode, String name)
     Opens the PIM list.
public  String[]supportedSerialFormats(int pimListType)
     Gets the list of supported serial formats.
public  voidtoSerialFormat(PIMItem item, OutputStream os, String enc, String dataFormat)
     Converts to serial format.


Constructor Detail
PIMImpl
public PIMImpl()(Code)
PIMImpl constructor, called from PIM.getInstance().




Method Detail
fromSerialFormat
public PIMItem[] fromSerialFormat(InputStream is, String enc) throws PIMException, UnsupportedEncodingException(Code)
Gets an array of PIM items from an encoded input stream.
Parameters:
  is - data input stream
Parameters:
  enc - character encoding of stream data array of PIM items
throws:
  PIMException - if any error reading the PIM data
throws:
  UnsupportedEncodingException - if encoding is not supported



listPIMLists
public String[] listPIMLists(int pimListType)(Code)
Gets the current PIM lists.
Parameters:
  pimListType - type of list to return array of list names



openPIMList
public PIMList openPIMList(int pimListType, int mode) throws PIMException(Code)
Opens the PIM list.
Parameters:
  pimListType - CONTACT_LIST, EVENT_LIST or TODO_LIST
Parameters:
  mode - READ_ONLY, WRITE_ONLY or READ_WRITE handle to opened PIM list
throws:
  PIMException - if the list is not found



openPIMList
public PIMList openPIMList(int pimListType, int mode, String name) throws PIMException(Code)
Opens the PIM list.
Parameters:
  pimListType - CONTACT_LIST, EVENT_LIST or TODO_LIST
Parameters:
  mode - READ_ONLY, WRITE_ONLY or READ_WRITE
Parameters:
  name - name of the list handle to opened PIM list
throws:
  PIMException - if the list is not found



supportedSerialFormats
public String[] supportedSerialFormats(int pimListType)(Code)
Gets the list of supported serial formats.
Parameters:
  pimListType - CONTACT_LIST, EVENT_LIST or TODO_LIST array of format names



toSerialFormat
public void toSerialFormat(PIMItem item, OutputStream os, String enc, String dataFormat) throws PIMException, UnsupportedEncodingException(Code)
Converts to serial format.
Parameters:
  item - the PIM item to be processed
Parameters:
  os - the target output stream
Parameters:
  enc - the character encoding for output strings
Parameters:
  dataFormat - the serialized format
throws:
  PIMException - if any error writing the PIM data
throws:
  UnsupportedEncodingException - if encoding is not supported



Fields inherited from javax.microedition.pim.PIM
final public static int CONTACT_LIST(Code)(Java Doc)
final public static int EVENT_LIST(Code)(Java Doc)
final public static int READ_ONLY(Code)(Java Doc)
final public static int READ_WRITE(Code)(Java Doc)
final public static int TODO_LIST(Code)(Java Doc)
final public static int WRITE_ONLY(Code)(Java Doc)

Methods inherited from javax.microedition.pim.PIM
abstract public PIMItem[] fromSerialFormat(java.io.InputStream is, String enc) throws PIMException, UnsupportedEncodingException(Code)(Java Doc)
public static PIM getInstance()(Code)(Java Doc)
abstract public String[] listPIMLists(int pimListType)(Code)(Java Doc)
abstract public PIMList openPIMList(int pimListType, int mode) throws PIMException(Code)(Java Doc)
abstract public PIMList openPIMList(int pimListType, int mode, String name) throws PIMException(Code)(Java Doc)
abstract public String[] supportedSerialFormats(int pimListType)(Code)(Java Doc)
abstract public void toSerialFormat(PIMItem item, java.io.OutputStream os, String enc, String dataFormat) throws PIMException, UnsupportedEncodingException(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.