/*
* Created on 2004/12/01
* Author aki@www.xucker.jpn.org
* License Apache2.0 or Common Public License
*/
package org.jpn.xucker.subtitle.sub2;
import org.apache.commons.lang.StringUtils;
import org.apache.commons.lang.SystemUtils;
/**
*
*
*/
public class SUBObject {
private int startFrame;
private int endFrame;
private String text;
public int getEndFrame() {
return endFrame;
}
public void setEndFrame(int endFrame) {
this.endFrame = endFrame;
}
public int getStartFrame() {
return startFrame;
}
public void setStartFrame(int startFrame) {
this.startFrame = startFrame;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getPrintString(){
String line="";
if(text!=null){
line=StringUtils.replace(text,"|",SystemUtils.LINE_SEPARATOR);
}
return line;
}
}
|