jnetpcap.capture
Interface FileType

All Known Implementing Classes:
SuppliedFileTypes

public interface FileType

Base interface for all the known file types. All file types implement this basic interface which provides some information about the file type.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Method Summary
 java.lang.String getBootstrap()
           
 java.lang.String getDescription()
           
 boolean isIndexable()
          Helps deterimine if this file type is easily indexible or if this is a major understask.
 

Method Detail

getDescription

java.lang.String getDescription()

isIndexable

boolean isIndexable()

Helps deterimine if this file type is easily indexible or if this is a major understask. Use this method to determine the best algorithm to use with any specific file type. PCAP and SNOOP files for example, are not easily indexible and can only be done so at extreme resource expense, while other formats such as NAP are easily indexible and can easily be indexed.

Note that in programming any type of file can be turned into an index file, but at great CPU, time and memory expense. You can use this generic method to determine if this is a worth while excersize of another approach or algorithm should be used.

Returns:
true if file is easily indexible otherwise false.

getBootstrap

java.lang.String getBootstrap()
Returns: