@Immutable public class SourceFile extends Object implements Comparable<SourceFile>
| Constructor and Description |
|---|
SourceFile(String name,
boolean isSource,
File path) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SourceFile o) |
boolean |
equals(Object o) |
InputStream |
getInputStream() |
File |
getLocation() |
String |
getName() |
File |
getPath() |
Reader |
getReader() |
SourceType |
getType() |
int |
hashCode() |
boolean |
isAbsent() |
String |
toString() |
public SourceFile(String name, boolean isSource, File path) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getName()
public SourceType getType()
public File getLocation()
public File getPath()
public boolean isAbsent()
public InputStream getInputStream() throws IOException
IOExceptionpublic Reader getReader() throws IOException
IOExceptionpublic int compareTo(SourceFile o)
compareTo in interface Comparable<SourceFile>Copyright © 2014 Quattor. All Rights Reserved.