public class Input extends Object
Constructor and Description |
---|
Input(String filename)
Parses the specified file to create a new
Input
object. |
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the name of the generated class.
|
Queue<InputException> |
getExceptions()
Returns the exceptions contained in this class.
|
String |
getGroupName()
Returns the name of this group of exceptions.
|
String |
getPackageName()
Returns the name of the package this class will go in.
|
String |
toString()
Returns a textual representation of this input.
|
public Input(String filename) throws FileNotFoundException, IOException
Input
object.filename
- the file to parse.FileNotFoundException
- if the file can't be found.IOException
- if an I/O error occurs.public String getGroupName()
public String getPackageName()
public String getClassName()
public Queue<InputException> getExceptions()
Copyright © 2017 JBoss by Red Hat. All rights reserved.