Package ghidra.plugins.importer.batch
Class BatchSegregatingCriteria
- java.lang.Object
-
- ghidra.plugins.importer.batch.BatchSegregatingCriteria
-
public class BatchSegregatingCriteria extends java.lang.Object
Set of identifying pieces of info that allow us to segregate files that we are importing into groups.Criteria are:
- Filename extension of source file
- Loader name
- Set of LanguageCompilerSpecs and preferred flags (ie.
BatchGroupLoadSpec
)
-
-
Constructor Summary
Constructors Constructor Description BatchSegregatingCriteria(Loader loader, java.util.Collection<LoadSpec> loadSpecs, ByteProvider provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<BatchGroupLoadSpec>
getBatchGroupLoadSpecs()
Return theBatchGroupLoadSpec
s as a sorted list.java.lang.String
getFileExt()
BatchGroupLoadSpec
getFirstPreferredLoadSpec()
java.lang.String
getLoader()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BatchSegregatingCriteria
public BatchSegregatingCriteria(Loader loader, java.util.Collection<LoadSpec> loadSpecs, ByteProvider provider)
-
-
Method Detail
-
getFileExt
public java.lang.String getFileExt()
-
getLoader
public java.lang.String getLoader()
-
getBatchGroupLoadSpecs
public java.util.List<BatchGroupLoadSpec> getBatchGroupLoadSpecs()
Return theBatchGroupLoadSpec
s as a sorted list.- Returns:
- sorted list of
BatchGroupLoadSpec
s.
-
getFirstPreferredLoadSpec
public BatchGroupLoadSpec getFirstPreferredLoadSpec()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-