com.sap.tc.logging
Class Tokenizer
java.lang.Object
com.sap.tc.logging.Tokenizer
- All Implemented Interfaces:
- Cloneable, Iterator
public class Tokenizer
- extends Object
- implements Iterator, Cloneable
A tokenizer presentation
content
protected String content
currIdx
protected int currIdx
length
protected int length
Tokenizer
public Tokenizer(String content)
- the constructor
- Parameters:
content - - the content that has to be processed as tokens
nextToken
public com.sap.tc.logging.Token nextToken()
- standard nextToken implementation
- Returns:
- the next token
nextTokenInt
public com.sap.tc.logging.Token nextTokenInt()
- calculates the type of the token
- Returns:
- a token of given type ( NONE | UNKNOWN | UNPARSED | IDENT)
getLookahead
public com.sap.tc.logging.Token getLookahead()
- Returns:
- the next token
getContent
public String getContent()
- Returns:
- the content to go
getAcceptedContent
public String getAcceptedContent()
- Returns:
- the evaluated content
getFullContent
public String getFullContent()
- Returns:
- the content that was given initially to this tokenizer
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator
- Returns:
true - when there is a next token
false - when there is not a next token
next
public Object next()
- Specified by:
next in interface Iterator
- Returns:
- the next token
remove
public void remove()
- not implemented method. Calling it results in UnsupportedOperationException.
- Specified by:
remove in interface Iterator
clone
public Object clone()
- Overrides:
clone in class Object
- Returns:
- the cloned object for the current one
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/edit/api
|
api
|
BC-BMT-BRM-ENG
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
api
|
BC-BMT-BRM-ENG
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.libdeprecated
|
-
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] public.test.facade
|
runtime
|
BC-TWB-TST-JUT
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/logging/api
|
api
|
BC-JAS
|
[sap.com] ENGINEAPI
|
[sap.com] tc/loggingdeprecated
|
-
|
BC-JAS-ADM-LOG-API
|
[sap.com] ENGINEAPI
|
[sap.com] tc/loggingdeprecated
|
default
|
BC-JAS-ADM-LOG-API
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] FRAMEWORK
|
[sap.com] tc/ddic/ddicruntime
|
default
|
BC-DWB-JDD
|
Copyright 2014 SAP AG Complete Copyright Notice