info.aduna.gee.publication.servlets.szpad
Class SzState

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by info.aduna.gee.publication.util.WProperties
              extended by info.aduna.gee.publication.servlets.szpad.SzState
All Implemented Interfaces:
Serializable, Cloneable, Map

public class SzState
extends WProperties

Class SzState

See Also:
Serialized Form

Field Summary
protected static int _random
           
static String COVER
           
static String ENTRY
           
static String LANGUAGE
           
static String PAGE
           
static String RANDOM
           
static String SECTION
           
static String USER
           
 
Constructor Summary
SzState(String s)
          Construct a State from a Base64 string.
SzState(String u, String l, String c, String s, String p, String e)
          Construct a state.
 
Method Summary
 String getState()
          Get the base64 representation.
static void main(String[] args)
           
 
Methods inherited from class info.aduna.gee.publication.util.WProperties
_getExpandedSize, equals, getIntProperty, getKeyOf, getProperties, getProperties, getProperty, getProperty, load, mergeWith, put, put, put, save, save, toProperties, toString
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

USER

public static final String USER
See Also:
Constant Field Values

LANGUAGE

public static final String LANGUAGE
See Also:
Constant Field Values

COVER

public static final String COVER
See Also:
Constant Field Values

SECTION

public static final String SECTION
See Also:
Constant Field Values

PAGE

public static final String PAGE
See Also:
Constant Field Values

ENTRY

public static final String ENTRY
See Also:
Constant Field Values

RANDOM

public static final String RANDOM
See Also:
Constant Field Values

_random

protected static int _random
Constructor Detail

SzState

public SzState(String s)
        throws IOException
Construct a State from a Base64 string.

Throws:
IOException

SzState

public SzState(String u,
               String l,
               String c,
               String s,
               String p,
               String e)
Construct a state.

Parameters:
u - user
l - language
c - cover
s - section
p - page
e - entry id NOTE: page is 0 based!
Method Detail

getState

public String getState()
Get the base64 representation.


main

public static void main(String[] args)


Copyright © 1997-2008 Aduna. All Rights Reserved.