Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.text.rules
Interface ICharacterScanner

All Known Implementing Classes:
BufferedRuleBasedScanner, RuleBasedPartitionScanner, RuleBasedScanner

public interface ICharacterScanner

Defines the interface of a character scanner used by rules. Rules may request the next character or ask the character scanner to unread the last read character.


Field Summary
static int EOF
          The value returned when this scanner has read EOF.
 
Method Summary
 int getColumn ()
          Returns the column of the character scanner.
 char[][] getLegalLineDelimiters ()
          Provides rules access to the legal line delimiters.
 int read ()
          Returns the next character or EOF if end of file has been reached
 void unread ()
          Rewinds the scanner before the last read character.
 

Field Detail

EOF

static final int EOF
The value returned when this scanner has read EOF.

See Also:
Constant Field Values
Method Detail

getLegalLineDelimiters

char[][] getLegalLineDelimiters()
Provides rules access to the legal line delimiters. The returned object may not be modified by clients.

Returns:
the legal line delimiters

getColumn

int getColumn()
Returns the column of the character scanner.

Returns:
the column of the character scanner

read

int read()
Returns the next character or EOF if end of file has been reached

Returns:
the next character or EOF

unread

void unread()
Rewinds the scanner before the last read character.


Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire