< prev index next >
src/java.activation/share/classes/com/sun/activation/registries/MailcapTokenizer.java
Print this page
*** 40,50 ****
public static final int EQUALS_TOKEN = '=';
/**
* Constructor
*
! * @parameter inputString the string to tokenize
*/
public MailcapTokenizer(String inputString) {
data = inputString;
dataIndex = 0;
dataLength = inputString.length();
--- 40,50 ----
public static final int EQUALS_TOKEN = '=';
/**
* Constructor
*
! * @param inputString the string to tokenize
*/
public MailcapTokenizer(String inputString) {
data = inputString;
dataIndex = 0;
dataLength = inputString.length();
*** 71,81 ****
}
/**
* Retrieve current token.
*
! * @returns The current token value
*/
public int getCurrentToken() {
return currentToken;
}
--- 71,81 ----
}
/**
* Retrieve current token.
*
! * @return The current token value
*/
public int getCurrentToken() {
return currentToken;
}
*** 113,131 ****
}
/*
* Retrieve current token value.
*
! * @returns A String containing the current token value
*/
public String getCurrentTokenValue() {
return currentTokenValue;
}
/*
* Process the next token.
*
! * @returns the next token
*/
public int nextToken() {
if (dataIndex < dataLength) {
// skip white space
while ((dataIndex < dataLength) &&
--- 113,131 ----
}
/*
* Retrieve current token value.
*
! * @return A String containing the current token value
*/
public String getCurrentTokenValue() {
return currentTokenValue;
}
/*
* Process the next token.
*
! * @return the next token
*/
public int nextToken() {
if (dataIndex < dataLength) {
// skip white space
while ((dataIndex < dataLength) &&
< prev index next >