Package java.io
Class StreamTokenizer

Public Method slashStarComments

void slashStarComments(boolean flag)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method determines whether or not the tokenizer recognizes C-style comments. If the flag argument is true, this stream tokenizer recognizes C-style comments. All text between successive occurrences of /* and */ are discarded. If the flag argument is false, then C-style comments are not treated specially.

Example

   File file = new File("testFile");
   InputStream is = new FileInputStream(file);
   StreamTokenizer st = new StreamTokenizer(is);
   ...
   st.slashStarComments(true);

The example above sets up the stream tokenizer to recognize C-style comments.