Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.runtime.channel
Class TokenReader

java.lang.Object
  extended by com.genesyslab.platform.configuration.protocol.runtime.channel.TokenReader
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
TokenReaderV6, TokenReaderV7

public abstract class TokenReader
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
protected  java.lang.String confStr
           
protected  int len
           
protected  int position
           
 
Constructor Summary
TokenReader(java.lang.String confStr)
           
TokenReader(java.lang.String confStr, boolean isdelta)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getData()
           
 java.lang.String getKey()
           
 TokenType getTokenType()
           
protected abstract  TokenType getTokenType(int position)
           
protected static int indexOfAny(java.lang.String str, char[] searchChars, int startIndex)
          Deprecated. 
 boolean isDelta()
           
abstract  boolean read()
           
protected  void setToken(TokenType type)
           
protected  void setToken(TokenType type, java.lang.String data)
           
protected  void setToken(TokenType type, java.lang.String data, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

confStr

protected final java.lang.String confStr

len

protected final int len

position

protected int position
Constructor Detail

TokenReader

public TokenReader(java.lang.String confStr)

TokenReader

public TokenReader(java.lang.String confStr,
                   boolean isdelta)
Method Detail

read

public abstract boolean read()

getTokenType

public TokenType getTokenType()

getData

public java.lang.String getData()

getKey

public java.lang.String getKey()

isDelta

public boolean isDelta()

getTokenType

protected abstract TokenType getTokenType(int position)

setToken

protected void setToken(TokenType type,
                        java.lang.String data,
                        java.lang.String key)

setToken

protected void setToken(TokenType type,
                        java.lang.String data)

setToken

protected void setToken(TokenType type)

indexOfAny

@Deprecated
protected static int indexOfAny(java.lang.String str,
                                           char[] searchChars,
                                           int startIndex)
Deprecated. 


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.