com.jalios.jcms.db
Class Jcms5DataLoader

java.lang.Object
  extended by com.jalios.jcms.db.AbstractJcms5DataLoader
      extended by com.jalios.jcms.db.Jcms5DataLoader

public class Jcms5DataLoader
extends AbstractJcms5DataLoader

This class loads some data from JCMS 5 to JCMS 6.

Since:
jcms-6.0.0
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Fields inherited from class com.jalios.jcms.db.AbstractJcms5DataLoader
channel, DATA_AUTHOR_ID, DATA_CDATE, DATA_ID, DATA_MDATE, DATA_TYPE, PUBLICATION_PSTATUS, PUBLICATION_TITLE, PUBLICATION_WS_ID
 
Method Summary
 DBData buildDBData(String[] array)
           
 String decodeText(String str, boolean resolveLink)
           
static Jcms5DataLoader getInstance()
           
 String getNewId(String oldId)
           
 Jcms5DataLoadReport getReport()
           
 Jcms5DataLoadReport load(File file)
          Loads the JCMS 5 data from the given file.
 
Methods inherited from class com.jalios.jcms.db.AbstractJcms5DataLoader
decodeDate, decodeTitle, performAfterLoad, processData, processPublication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Method Detail

getInstance

public static Jcms5DataLoader getInstance()

load

public Jcms5DataLoadReport load(File file)
                         throws IOException
Loads the JCMS 5 data from the given file.

Parameters:
file - the file to be loaded.
Returns:
a DataLoadReport
Throws:
IOException
Since:
jcms-6.0.0

buildDBData

public DBData buildDBData(String[] array)
Specified by:
buildDBData in class AbstractJcms5DataLoader

getReport

public Jcms5DataLoadReport getReport()

decodeText

public String decodeText(String str,
                         boolean resolveLink)

getNewId

public String getNewId(String oldId)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.