|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.sdklib.build.DependencyFile
public class DependencyFile
Parse a dependency file.
| Constructor Summary | |
|---|---|
DependencyFile(java.io.File dependencyFile,
java.util.List<java.io.File> sourceFolders)
|
|
| Method Summary | |
|---|---|
java.io.File |
getFile()
|
java.io.File |
getFirstOutput()
Shortcut access to the first output file. |
java.util.List<java.io.File> |
getInputFiles()
|
java.util.List<java.io.File> |
getOutputFiles()
|
java.util.List<java.io.File> |
getSdkInputFiles()
|
boolean |
hasInput(java.io.File file)
Returns whether the given file is a dependency for this source file. |
boolean |
hasOutput(java.io.File file)
Returns whether the given file is an ouput of this source file. |
boolean |
needCompilation()
Deprecated. Use Gradle instead! |
void |
parse()
Parses the dependency file(s) |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyFile(@NonNull
java.io.File dependencyFile,
@NonNull
java.util.List<java.io.File> sourceFolders)
| Method Detail |
|---|
@NonNull public java.io.File getFile()
@NonNull public java.util.List<java.io.File> getInputFiles()
@NonNull public java.util.List<java.io.File> getSdkInputFiles()
@NonNull public java.util.List<java.io.File> getOutputFiles()
public java.io.File getFirstOutput()
public boolean hasInput(@NonNull
java.io.File file)
file.equals(getSourceFile() returns true, this method will return
false.
file - the file to check against
public boolean hasOutput(@NonNull
java.io.File file)
file - the file to test.
public void parse()
throws java.io.IOException
java.io.IOException@Deprecated public boolean needCompilation()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||