public interface IRepParserEngine
IReplay
,
IRepProcessor
Modifier and Type | Method and Description |
---|---|
IVersionBean |
getRepParserEngineVersionBean()
Returns the version bean of the replay parser engine.
|
IRepProcessor |
getRepProc(java.nio.file.Path file)
Returns an
IRepProcessor constructed and initialized from the replay processor's cache for the specified replay file if it is cached, and if not,
it will be parsed and cached first, then returned. |
IVersionBean |
getRepProcCacheVersionBean()
Returns the version bean of the replay processor cache.
|
IVersionBean |
getRepProcessorVersionBean()
Returns the version bean of the replay processor.
|
IRepProcessor |
parseAndWrapReplay(java.nio.file.Path file)
Parses the specified replay file and returns a wrapper
IRepProcessor object. |
IReplay |
parseReplay(java.nio.file.Path file)
Parses the specified replay file and returns an
IReplay object. |
IVersionBean getRepParserEngineVersionBean()
IVersionBean getRepProcessorVersionBean()
IVersionBean getRepProcCacheVersionBean()
IReplay parseReplay(java.nio.file.Path file)
IReplay
object.
If the complete game events and tracker events of the replay are not required, the preferred way to "parse" the replay is getRepProc(Path)
because it is significantly faster, the difference is order of magnitude!
file
- replay file to be parsedIReplay
object or null
if the replay cannot be parsedIReplay
,
getRepProc(Path)
,
parseAndWrapReplay(Path)
IRepProcessor parseAndWrapReplay(java.nio.file.Path file)
IRepProcessor
object.
If the complete game events and tracker events of the replay are not required, the preferred way to "parse" the replay is getRepProc(Path)
because it is significantly faster, the difference is order of magnitude!
file
- replay file to be parsedIRepProcessor
of the constructed IReplay
object or null
if the replay cannot be parsedIReplay
,
getRepProc(Path)
IRepProcessor getRepProc(java.nio.file.Path file)
IRepProcessor
constructed and initialized from the replay processor's cache for the specified replay file if it is cached, and if not,
it will be parsed and cached first, then returned.
If the complete game events and tracker events of the replay are not required, this is the preferred way to "parse" the replay as opposed to
parseReplay(Path)
because this method is significantly faster, the difference is order of magnitude!
file
- replay file whose IRepProcessor
object to returnIRepProcessor
preferably constructed and initialized from the replay processor's cache or null
if the replay cannot be
parsedIRepProcessor
,
parseReplay(Path)
,
parseAndWrapReplay(Path)
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.