mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-27 14:58:55 +01:00
42 lines
735 B
Java
42 lines
735 B
Java
/**
|
|
*
|
|
* @author Balázs Tóth (tobal17@gmail.com)
|
|
*
|
|
* Modified by Kevin POCHAT for ATCS
|
|
*/
|
|
package net.launchpad.tobal.poparser;
|
|
|
|
import java.util.Vector;
|
|
|
|
public class POLine
|
|
{
|
|
private POEntry.StringType type;
|
|
private Vector<String> strings;
|
|
|
|
POLine(POEntry.StringType type, String string)
|
|
{
|
|
this.type = type;
|
|
this.strings = new Vector<String>();
|
|
this.strings.add(string);
|
|
}
|
|
|
|
public void addString(String string)
|
|
{
|
|
strings.add(string);
|
|
}
|
|
|
|
public Vector<String> getStrings()
|
|
{
|
|
return strings;
|
|
}
|
|
|
|
public POEntry.StringType getType()
|
|
{
|
|
return type;
|
|
}
|
|
|
|
public int getVectorSize()
|
|
{
|
|
return strings.size();
|
|
}
|
|
} |