Class CrossfireAnimationObjectsReader
- java.lang.Object
-
- net.sf.gridarta.model.io.AbstractAnimationObjectsReader
-
- net.sf.gridarta.var.crossfire.model.io.CrossfireAnimationObjectsReader
-
public class CrossfireAnimationObjectsReader extends AbstractAnimationObjectsReader
Reads CrossfireAnimationObjectsfrom files.
-
-
Constructor Summary
Constructors Constructor Description CrossfireAnimationObjectsReader(@NotNull SmoothFaces smoothFaces)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intparseLine(@NotNull java.lang.String line, int startLineNumber, @NotNull java.io.BufferedReader in, @NotNull ErrorViewCollector errorViewCollector)Parses a line.-
Methods inherited from class net.sf.gridarta.model.io.AbstractAnimationObjectsReader
loadAnimations, loadAnimations
-
-
-
-
Constructor Detail
-
CrossfireAnimationObjectsReader
public CrossfireAnimationObjectsReader(@NotNull @NotNull SmoothFaces smoothFaces)Creates a new instance.- Parameters:
smoothFaces- the smooth faces instance to update
-
-
Method Detail
-
parseLine
protected int parseLine(@NotNull @NotNull java.lang.String line, int startLineNumber, @NotNull @NotNull java.io.BufferedReader in, @NotNull @NotNull ErrorViewCollector errorViewCollector) throws AnimationParseException, java.io.IOExceptionDescription copied from class:AbstractAnimationObjectsReaderParses a line.- Specified by:
parseLinein classAbstractAnimationObjectsReader- Parameters:
line- the current linestartLineNumber- the current line numberin- the reader to read fromerrorViewCollector- the error view collector for reporting errors- Returns:
- the number of processed lines or -1 if the line could not be parsed
- Throws:
AnimationParseException- in case parsing the animation reveals errorsjava.io.IOException- in case of I/O errors
-
-