org.eclipse.emf.importer.rose.parser
Class RoseLoader

java.lang.Object
  extended byorg.eclipse.emf.importer.rose.parser.RoseComponent
      extended byorg.eclipse.emf.importer.rose.parser.RoseLoader

public class RoseLoader
extends RoseComponent

A loader that creates Buffered Reader.


Field Summary
protected  BufferedReader bufferedReader
           
protected  long currentLength
           
protected  long length
           
protected  int lower
           
protected  int oldValue
           
static String PROGRESS
           
protected  int progressIncrement
           
protected  int upper
           
protected  boolean valid
           
 
Fields inherited from class org.eclipse.emf.importer.rose.parser.RoseComponent
listeners
 
Constructor Summary
RoseLoader(String fileName, URIConverter uriConverter)
           
 
Method Summary
 void close()
           
 int getLower()
           
 int getUpper()
           
 boolean isValid()
           
 String readLine()
           
 void setLower(int lower)
           
 void setProgressIncrement(int progressIncrement)
           
 void setUpper(int upper)
           
 
Methods inherited from class org.eclipse.emf.importer.rose.parser.RoseComponent
addPropertyChangeListener, firePropertyChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROGRESS

public static final String PROGRESS
See Also:
Constant Field Values

valid

protected boolean valid

bufferedReader

protected BufferedReader bufferedReader

length

protected long length

currentLength

protected long currentLength

progressIncrement

protected int progressIncrement

oldValue

protected int oldValue

lower

protected int lower

upper

protected int upper
Constructor Detail

RoseLoader

public RoseLoader(String fileName,
                  URIConverter uriConverter)
           throws Exception
Method Detail

isValid

public boolean isValid()

setProgressIncrement

public void setProgressIncrement(int progressIncrement)

setLower

public void setLower(int lower)

getLower

public int getLower()

setUpper

public void setUpper(int upper)

getUpper

public int getUpper()

readLine

public String readLine()

close

public void close()
           throws IOException
Throws:
IOException

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.