textbender.a.u.transfer.clipboard
Class ClipIndexEncoder

java.lang.Object
  extended by ClipIndexEncoder

@ThreadRestricted
final class ClipIndexEncoder
extends Object

Encodes/decodes clip-indeces to/from 'c' attribute values.

See Also:
clipboard.mod

Constructor Summary
ClipIndexEncoder()
           
 
Method Summary
(package private)  long clipIndexOf(String c)
          Returns the clip-index of a 'c' attribute value.
(package private)  String cOf(long clipIndex)
          Returns the clip-index encoded as a string suitable for a 'c' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClipIndexEncoder

ClipIndexEncoder()
Method Detail

clipIndexOf

long clipIndexOf(String c)
Returns the clip-index of a 'c' attribute value.

See Also:
cOf(long)

cOf

String cOf(long clipIndex)
Returns the clip-index encoded as a string suitable for a 'c' attribute value.

See Also:
clipIndexOf(String)