public class FileInstrumentationClassSource extends java.lang.Object implements java.lang.Comparable, InstrumentationClassSource
| Constructor and Description |
|---|
FileInstrumentationClassSource(java.io.File root,
java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
className() |
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
java.io.File |
file() |
int |
hashCode() |
java.io.InputStream |
inputStream() |
java.io.File |
root() |
java.io.File |
sourceFile() |
java.io.File |
targetPath(java.io.File targetBase) |
java.lang.String |
toString() |
public FileInstrumentationClassSource(java.io.File root,
java.io.File file)
public java.io.File root()
public java.io.File file()
public java.lang.String className()
throws java.io.IOException
className in interface InstrumentationClassSourcejava.io.IOExceptionpublic java.io.File targetPath(java.io.File targetBase)
throws java.io.IOException
targetPath in interface InstrumentationClassSourcejava.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic java.io.InputStream inputStream()
throws java.io.IOException
inputStream in interface InstrumentationClassSourcejava.io.IOExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.io.File sourceFile()
sourceFile in interface InstrumentationClassSource