public class Mode2Parser extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_THRESHOLD |
static int |
DUMMYGAP
Added at the end of IR sequences that would otherwise end with a flash.
|
| Constructor and Description |
|---|
Mode2Parser(File file,
boolean verbose,
int threshold) |
Mode2Parser(InputStream stream,
boolean verbose,
int threshold) |
Mode2Parser(Reader reader,
boolean verbose,
int threshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isValid() |
static void |
main(String[] args) |
org.harctoolbox.ircore.IrSequence |
readIrSequence() |
List<org.harctoolbox.ircore.IrSequence> |
readIrSequencesUntilEOF() |
void |
setThreshold(int threshold) |
void |
setVerbose(boolean verbose) |
public static final int DUMMYGAP
public static final int DEFAULT_THRESHOLD
public Mode2Parser(Reader reader, boolean verbose, int threshold)
public Mode2Parser(File file, boolean verbose, int threshold) throws FileNotFoundException
FileNotFoundExceptionpublic Mode2Parser(InputStream stream, boolean verbose, int threshold)
public static void main(String[] args)
public boolean isValid()
public void close()
throws IOException
IOExceptionpublic List<org.harctoolbox.ircore.IrSequence> readIrSequencesUntilEOF() throws IOException
IOExceptionpublic org.harctoolbox.ircore.IrSequence readIrSequence()
throws ParseException,
IOException
ParseExceptionIOExceptionpublic void setThreshold(int threshold)
threshold - the threshold to setpublic void setVerbose(boolean verbose)
verbose - the verbose to setCopyright © 2020. All rights reserved.