|
FindBugs™ 1.3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry
edu.umd.cs.findbugs.classfile.impl.DirectoryCodeBaseEntry
public class DirectoryCodeBaseEntry
Codebase entry class for directory codebases.
| Constructor Summary | |
|---|---|
DirectoryCodeBaseEntry(DirectoryCodeBase codeBase,
java.lang.String realResourceName)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
ClassDescriptor |
getClassDescriptor()
Return the ClassDescriptor of the class resource accessed by this codebase entry. |
AbstractScannableCodeBase |
getCodeBase()
Get the codebase this codebase entry belongs to. |
int |
getNumBytes()
Get the number of bytes in the resource. |
java.lang.String |
getRealResourceName()
|
int |
hashCode()
|
java.io.InputStream |
openResource()
Open an input stream reading from the resource. |
java.lang.String |
toString()
|
| Methods inherited from class edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry |
|---|
getResourceName, overrideResourceName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.umd.cs.findbugs.classfile.ICodeBaseEntry |
|---|
getResourceName, overrideResourceName |
| Constructor Detail |
|---|
public DirectoryCodeBaseEntry(DirectoryCodeBase codeBase,
java.lang.String realResourceName)
| Method Detail |
|---|
public int getNumBytes()
ICodeBaseEntry
getNumBytes in interface ICodeBaseEntry
public java.io.InputStream openResource()
throws java.io.IOException
ICodeBaseEntry
openResource in interface ICodeBaseEntryjava.io.IOException - if an error occurs reading from the resourcepublic AbstractScannableCodeBase getCodeBase()
ICodeBaseEntry
getCodeBase in interface ICodeBaseEntrygetCodeBase in class AbstractScannableCodeBaseEntrypublic java.lang.String getRealResourceName()
getRealResourceName in class AbstractScannableCodeBaseEntry
public ClassDescriptor getClassDescriptor()
throws InvalidClassFileFormatException
ICodeBaseEntry
getClassDescriptor in interface ICodeBaseEntryInvalidClassFileFormatExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
FindBugs™ 1.3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||