    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class w3c.jigsaw.upgrade.Upgrade1to2

    java.lang.Object
       |
       +----w3c.jigsaw.upgrade.Upgrade1to2

public class Upgrade1to2
extends Object
implements Upgrader

##

DO_AUTH
DO_INDEXER
DO_PROPS
DO_STORES
indent
  Emit an upgrade trace:

##

Upgrade1to2()

##

createServerHandlerProperties()
error(String)
main(String[])
parse(String[])
removePropertiesPrefix()
saveProperties()
trace(String)
trace(String, String)
upgrade(String[])
upgradeAuthInfos()
upgradeDone()
  Emit a message, upgrade has performed successfully.
upgradeIndexer()
upgradeProperties()
  Upgrade the properties.
upgradeSimpleResourceStore(File)
  Upgrade resource stores.
upgradeStores()
usage()
warning(String)

##

DO_STORES

     public static final int DO_STORES

DO_PROPS

     public static final int DO_PROPS

DO_AUTH

     public static final int DO_AUTH

DO_INDEXER

     public static final int DO_INDEXER

indent

     protected String indent

  Emit an upgrade trace:

##

Upgrade1to2

     public Upgrade1to2()

##

trace

     public void trace(String msg)

trace

     public void trace(String indent,
                       String msg)

warning

     public void warning(String msg)

error

     public void error(String msg)

upgradeDone

     public void upgradeDone()

  Emit a message, upgrade has performed successfully.

createServerHandlerProperties

     protected void createServerHandlerProperties()

removePropertiesPrefix

     protected void removePropertiesPrefix()

saveProperties

     protected void saveProperties()

upgradeProperties

     protected void upgradeProperties()

  Upgrade the properties. The difference between version 1 and version 2, with regard to properties is:
  - Properties prefix are now deprecated.
  - Instead, we use several different files per server handler.
  - We also create the default server.props file.

upgradeSimpleResourceStore

     protected void upgradeSimpleResourceStore(File repository)

  Upgrade resource stores.

upgradeStores

     protected void upgradeStores()

upgradeAuthInfos

     public void upgradeAuthInfos()

upgradeIndexer

     public void upgradeIndexer()

upgrade

     public void upgrade(String args[]) throws UpgradeException

parse

     protected void parse(String args[]) throws UpgradeException

usage

     public static void usage()

main

     public static void main(String args[])

    All Packages  Class Hierarchy  This Package  Previous  Next  Index