|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.manifmerger.IMergerLog.FileAndLine
public static class IMergerLog.FileAndLine
Information about the file and line number where an error occurred.
Constructor Summary | |
---|---|
IMergerLog.FileAndLine(java.lang.String filePath,
int line)
Constructs a new IMergerLog.FileAndLine . |
Method Summary | |
---|---|
java.lang.String |
getFileName()
Returns the file path. |
int |
getLine()
Returns the line number where the error occurred in the XML file. |
java.lang.String |
toString()
Displays the information in the form "file:line". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IMergerLog.FileAndLine(@Nullable java.lang.String filePath, int line)
IMergerLog.FileAndLine
.
filePath
- The file path. This is typically a file path when the
merge is initiated via the process(File...)
interface.
When using the process(Document...)
interface, this will be
one of the magic constants IMergerLog.LIBRARY
or
IMergerLog.MAIN_MANIFEST
. When that fails, null is used.line
- The line number where the error occurred in the XML file.
Zero is used when the line number isn't known (e.g. when the error
happens at the document level rather than on a specific element.)Method Detail |
---|
@Nullable public java.lang.String getFileName()
process(File...)
interface.
When using the process(Document...)
interface, this will be
one of the magic constants IMergerLog.LIBRARY
or
IMergerLog.MAIN_MANIFEST
.
When that fails, null is used.
public int getLine()
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 |