public interface LogRecognizer
LogRecognizer is used when attempting to create a log
 page by opening a file in the LogWindow.  After the user selects
 a file in the URLChooser the LogManager cycles through
 all registered LogRecognizers to find one that recognizes
 the file and can create itself from the file.| Modifier and Type | Method and Description | 
|---|---|
LogPage | 
create(java.net.URL url,
      java.lang.Class type)
Creates an instance of the  
LogPage associated with the
  specified URL. | 
URLFilter | 
getFilter()
Gets the  
URLFilter for the LogRecognizer. | 
java.lang.Class | 
recognize(java.net.URL url)
Gets the  
Class of the data item associated with the
  specified URL. | 
java.lang.Class recognize(java.net.URL url)
Class of the data item associated with the
  specified URL.  Implementations must return
  null if the URL is not recognized. The
  Class returned must be the data model class.  This
  value is passed to the create(URL, Class) method
  which will create the LogPageurl - unique URL identifying the document.Class.LogPage create(java.net.URL url, java.lang.Class type) throws java.lang.IllegalAccessException, java.lang.InstantiationException
LogPage associated with the
  specified URL.  This method is called by the
  LogManager.  This method must return a LogPage
  instance.  The type parameter specifies the
  Class of the data object.url - unique URL identifying the document.type - the data Class.java.lang.IllegalAccessExceptionjava.lang.InstantiationException