@@ -0,0 +1,1361 @@
+package ro.gov.ithub.infotranspub.tools.transcoder.metrorex.temp;%0Aimport java.util.ArrayList;%0A%0Apublic class TempTextFile %7B%0A%0A    public static final String WRITE=%22w%22;%0A    public static final String READ=%22r%22;%0A    public static final String APPEND=%22a%22;%0A%0A    public static final int FIRST_LINE = 0;%0A%0A%0A    private ArrayList%3CString%3E lines = null;%0A    private int currentLine = FIRST_LINE;%0A    boolean openFlag = false;%0A%0A    public TempTextFile() %7B%0A        lines = new ArrayList%3CString%3E();%0A    %7D%0A%0A    public boolean open(String mode)%7B%0A        if ( mode.equals(WRITE))%7B%0A            lines = new ArrayList%3CString%3E();%0A            int currentLine = FIRST_LINE;%0A            openFlag = true;%0A        %7D else if ( mode.equals(READ))%7B%0A            int currentLine = FIRST_LINE;%0A            openFlag = true;%0A%0A        %7D else if ( mode.equals(APPEND))%7B%0A            int currentLine = lines.size();%0A            openFlag = true;%0A%0A        %7D else %7B%0A            openFlag = false;%0A        %7D%0A        return openFlag;%0A    %7D%0A%0A    public boolean close()%7B%0A        if ( openFlag)%7B%0A            currentLine = -1;%0A            openFlag = false;%0A            return true;%0A        %7D%0A        currentLine = -1;%0A        return false;%0A    %7D%0A%0A%0A    public boolean write(String line)%7B%0A        if (openFlag)%7B%0A            lines.add(line);%0A            currentLine ++;%0A        %7D%0A        return openFlag;%0A    %7D%0A%0A%7D%0A

Add memory temp file