rp.core
Class GUIToCoreFacade

java.lang.Object
  |
  +--rp.core.GUIToCoreFacade

public abstract class GUIToCoreFacade
extends java.lang.Object

Facade between GUI and Core Affers methods to GUI.


Field Summary
static java.lang.String CONFIG_NAME
           
static java.lang.String CONFIG_PATH
          Bei Windows gibt es Probleme mit Pfadangaben, wenn diese whitespace enthalten.
static java.text.DateFormat datumFormat
           
static java.lang.String HOME
           
 
Constructor Summary
GUIToCoreFacade()
           
 
Method Summary
static void addAddress(java.lang.String name, vCard v)
           
static void addEvent(java.lang.String date, java.lang.String event)
           
static void addFilters(Filters f)
           
static void addProperty(java.lang.String name, java.io.Serializable o)
          Add property globally, must be serializable since the properties will be dumped to a file.
static boolean CanHandle(javax.activation.DataHandler dh)
           
static java.lang.String decrypt(java.lang.String text, java.lang.String passwd)
           
static java.net.URL decrypt(java.net.URL datei, java.lang.String passwd)
           
static java.lang.String encrypt(java.lang.String text, java.lang.String key)
           
static java.net.URL encrypt(java.net.URL datei, java.lang.String key)
           
static java.util.List getAddressList(java.lang.String name)
           
static Filters getFilter(int stelle)
           
static java.util.LinkedList getFilters()
           
static java.lang.String getMimeCommand(java.lang.String ct)
           
static java.lang.Object getProperty(java.lang.String name)
           
static java.util.Collection getPropertyNames()
           
static java.lang.String getSignature()
           
static java.util.List getSMSProviders()
           
static java.util.List getTerminplaner()
           
static void HandleAttachment(javax.activation.DataHandler dh)
           
static boolean isDOS()
           
static void removeAddress(java.lang.String addressbookName, vCard v)
           
static void removeEvent(java.lang.String date, vEvent v)
           
static void removeFilters(int f)
           
static void removeProperty(java.lang.String name)
           
static void SaveAttachment(javax.activation.DataHandler dh, java.io.File f)
           
static java.util.List searchAddresses(java.lang.String s)
           
static java.util.List searchLDAPServer(java.lang.String url, java.lang.String s)
           
static java.net.URL zip(java.net.URL datei)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOME

public static final java.lang.String HOME

datumFormat

public static java.text.DateFormat datumFormat

CONFIG_PATH

public static final java.lang.String CONFIG_PATH
Bei Windows gibt es Probleme mit Pfadangaben, wenn diese whitespace enthalten. Dieses wird jetzt bei Erzeugen des CONFIG_PATH abgefangen

CONFIG_NAME

public static final java.lang.String CONFIG_NAME
Constructor Detail

GUIToCoreFacade

public GUIToCoreFacade()
Method Detail

isDOS

public static final boolean isDOS()

getPropertyNames

public static java.util.Collection getPropertyNames()

getProperty

public static java.lang.Object getProperty(java.lang.String name)

removeProperty

public static void removeProperty(java.lang.String name)

addProperty

public static void addProperty(java.lang.String name,
                               java.io.Serializable o)
Add property globally, must be serializable since the properties will be dumped to a file.

getSMSProviders

public static java.util.List getSMSProviders()

getAddressList

public static java.util.List getAddressList(java.lang.String name)

addAddress

public static void addAddress(java.lang.String name,
                              vCard v)

searchAddresses

public static java.util.List searchAddresses(java.lang.String s)

removeAddress

public static void removeAddress(java.lang.String addressbookName,
                                 vCard v)

removeEvent

public static void removeEvent(java.lang.String date,
                               vEvent v)

getTerminplaner

public static java.util.List getTerminplaner()

addEvent

public static void addEvent(java.lang.String date,
                            java.lang.String event)

searchLDAPServer

public static java.util.List searchLDAPServer(java.lang.String url,
                                              java.lang.String s)

encrypt

public static java.net.URL encrypt(java.net.URL datei,
                                   java.lang.String key)

encrypt

public static java.lang.String encrypt(java.lang.String text,
                                       java.lang.String key)

decrypt

public static java.net.URL decrypt(java.net.URL datei,
                                   java.lang.String passwd)

decrypt

public static java.lang.String decrypt(java.lang.String text,
                                       java.lang.String passwd)

zip

public static java.net.URL zip(java.net.URL datei)

addFilters

public static void addFilters(Filters f)

removeFilters

public static void removeFilters(int f)

getFilters

public static java.util.LinkedList getFilters()

getFilter

public static Filters getFilter(int stelle)

getMimeCommand

public static java.lang.String getMimeCommand(java.lang.String ct)

HandleAttachment

public static void HandleAttachment(javax.activation.DataHandler dh)

getSignature

public static java.lang.String getSignature()

SaveAttachment

public static void SaveAttachment(javax.activation.DataHandler dh,
                                  java.io.File f)

CanHandle

public static boolean CanHandle(javax.activation.DataHandler dh)