com.wjholden.nmap
Class NmapError

java.lang.Object
  extended by com.wjholden.nmap.NmapError
All Implemented Interfaces:
Nmap_Constants

public class NmapError
extends Object
implements Nmap_Constants

NmapError is an error logging utility designed to save information that previously went to Log.d. Many users do not know hot to get debugging information from Logcat.

Since:
0.4.1
Version:
0.1
Author:
William John Holden (wjholden@gmail.com)

Field Summary
 
Fields inherited from interface com.wjholden.nmap.Nmap_Constants
INSTALL_ERROR, INSTALL_GOOD, INSTALL_NO_ROOT, MENU_GROUP_DEBUG, MENU_ITEM_DEBUG_EMAIL, MENU_ITEM_DEBUG_ENABLE, RUN_COMPLETE, RUN_ERROR, RUN_LINE, SCANTYPE_NCAT, SCANTYPE_NDIFF, SCANTYPE_NMAP, SCANTYPE_NPING, TAG, THREAD_ERROR
 
Constructor Summary
NmapError()
           
 
Method Summary
 String GetLog()
          Grabs all lines of output previously stored using NmapError.Log(String).
 void Log(String s)
          Commit a new entry into the log.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NmapError

public NmapError()
Method Detail

GetLog

public String GetLog()
Grabs all lines of output previously stored using NmapError.Log(String).

Returns:
All lines of output, separated by newlines.

Log

public void Log(String s)
Commit a new entry into the log. If Nmap.DEBUG is true then the entry will also output to Logcat.

Parameters:
s - The String Logged.