|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object polyglot.frontend.Source
public class Source
A Source
represents a source file.
Field Summary | |
---|---|
protected java.util.Date |
lastModified
|
protected java.lang.String |
name
|
protected java.lang.String |
path
|
protected boolean |
userSpecified
Indicates if this source was explicitly specified by the user, or if it a source that has been drawn in to the compilation process due to a dependency. |
Constructor Summary | |
---|---|
protected |
Source(java.lang.String name)
|
protected |
Source(java.lang.String name,
boolean userSpecified)
|
|
Source(java.lang.String name,
java.lang.String path,
java.util.Date lastModified)
|
|
Source(java.lang.String name,
java.lang.String path,
java.util.Date lastModified,
boolean userSpecified)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.util.Date |
lastModified()
Return the date the source file was last modified. |
java.lang.String |
name()
The name of the source file. |
java.lang.String |
path()
The name of the source file. |
void |
setUserSpecified(boolean userSpecified)
|
java.lang.String |
toString()
|
boolean |
userSpecified()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String path
protected java.util.Date lastModified
protected boolean userSpecified
Constructor Detail |
---|
protected Source(java.lang.String name)
protected Source(java.lang.String name, boolean userSpecified)
public Source(java.lang.String name, java.lang.String path, java.util.Date lastModified)
public Source(java.lang.String name, java.lang.String path, java.util.Date lastModified, boolean userSpecified)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String name()
public java.lang.String path()
public java.util.Date lastModified()
public java.lang.String toString()
toString
in class java.lang.Object
public void setUserSpecified(boolean userSpecified)
public boolean userSpecified()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |