org.gamenet.application.mm8leveleditor.handler
Class TxtHandler

java.lang.Object
  extended byorg.gamenet.application.mm8leveleditor.handler.TxtHandler
All Implemented Interfaces:
LodResourceHandler

public class TxtHandler
extends Object
implements LodResourceHandler


Field Summary
private  LodResource sourceLodResource
           
private  VariableTabularStringTableModel stringTableModel
           
 
Constructor Summary
TxtHandler()
           
 
Method Summary
private  byte[] convertListOfListOfStringsToTxtData(List lineList)
           
private  List convertTxtDataToListOfListOfStrings(byte[] byteData)
           
 Component getComponentFor(LodResource lodResource, TaskObserver taskObserver)
           
 LodResource getUpdatedLodResource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceLodResource

private LodResource sourceLodResource

stringTableModel

private VariableTabularStringTableModel stringTableModel
Constructor Detail

TxtHandler

public TxtHandler()
Method Detail

getComponentFor

public Component getComponentFor(LodResource lodResource,
                                 TaskObserver taskObserver)
Specified by:
getComponentFor in interface LodResourceHandler

convertTxtDataToListOfListOfStrings

private List convertTxtDataToListOfListOfStrings(byte[] byteData)

convertListOfListOfStringsToTxtData

private byte[] convertListOfListOfStringsToTxtData(List lineList)

getUpdatedLodResource

public LodResource getUpdatedLodResource()
Specified by:
getUpdatedLodResource in interface LodResourceHandler