private String getParsedText(String lineSeperator) {
        StringBuilder parsedText = new StringBuilder();
        if (jtpOutputTabs.getSelectedIndex() == TEXT_TAB_INDEX) {
            return jtaOutputText.getText();
        } else if (jtpOutputTabs.getSelectedIndex() == LIST_TAB_INDEX) {
            DefaultListModel model = (DefaultListModel) jlOutputText.getModel();
            model.trimToSize();

            //Nothing selected, save all
            if (jlOutputText.getSelectedIndices().length == 0) {
                for (Object element : model.toArray()) {
                    parsedText.append(element);
                    parsedText.append(lineSeperator);
                }
            } else { //Some lines selected, save only selection
                int[] selection = jlOutputText.getSelectedIndices();
                for (int i = 0; i < selection.length; i++) {
                    parsedText.append(model.getElementAt(selection[i]));
                    parsedText.append(lineSeperator);
                }
            }
        } else if (jtpOutputTabs.getSelectedIndex() == TABLE_TAB_INDEX) {
            return jtaOutputText.getText(); //TODO not implemented
        }
        return parsedText.toString();
    }