|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.util.paramcodec.OwAlphabetCoder
public class OwAlphabetCoder
Encodes a long value in a numeric base given by the length of given alphabet.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwAlphabetCoder()
Constructor The DEFAULT_ALPHABET will be used |
|
OwAlphabetCoder(char[] alphabet_p)
Constructor |
Method Summary | |
---|---|
String |
encode(long aLong_p)
Encodes the given long in a numeric base given by the length of the alphabet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwAlphabetCoder()
DEFAULT_ALPHABET
will be used
public OwAlphabetCoder(char[] alphabet_p)
alphabet_p
- char array alphabetMethod Detail |
---|
public String encode(long aLong_p) throws OwInvalidOperationException
aLong_p
- a positive long value
OwInvalidOperationException
- if the given long value is negative
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |