Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## infomat.mro
Class FileConverter

    java.lang.Object
      infomat.mro.FileConverter

All Implemented Interfaces:
  HasProperties

    public class FileConverter

extends java.lang.Object
implements HasProperties

Class for converting Infomat file types. For natural reasons the conversion is not complete, i.e. all file types can not be converted to all others. In fact it is only possible to convert to the Infomat types, that is IMatrix and IObjectGrouping. The class supposes that the groupings are along the rows.
`java -cp .:classes/ -Xms1024m -Xmx1024m infomat.FileConverter`

Field Summary
`private IObjectGrouping` | `grouping`
`private IMatrix` | `matrix`
`private Properties` | `properties`
`private java.lang.String` | `separator`

Constructor Summary
`FileConverter()`

Method Summary
`private void` | `badInput(java.lang.String comment)`
`private void` | `checkInput(java.lang.String[] args)`
`void` | `doIt(java.lang.String[] args)`
`private java.util.Vector<PropertyValueDescription>` | `getAllFileTypes()`
`Properties` | `getDefaultProperties()`
`Properties` | `getProperties()`
`java.lang.Object` | `getPropertyValue(java.lang.String name)`
`static void` | `main(java.lang.String[] args)`
`private void` | `readFiles()`
`void` | `setProperties(Properties properties)`
`void` | `setProperty(java.lang.String name, java.lang.Object value)`
`private void` | `writeFiles()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### properties

    private Properties properties

### separator

    private java.lang.String separator

### matrix

    private IMatrix matrix

### grouping

    private IObjectGrouping grouping

Constructor Detail

### FileConverter

    public FileConverter()

Method Detail

### getAllFileTypes

    private java.util.Vector<PropertyValueDescription> getAllFileTypes()

### getDefaultProperties

    public Properties getDefaultProperties()

  Specified by:
    `getDefaultProperties` in interface `HasProperties`

### getPropertyValue

    public java.lang.Object getPropertyValue(java.lang.String name)

  Specified by:
    `getPropertyValue` in interface `HasProperties`

### setProperty

    public void setProperty(java.lang.String name,
                            java.lang.Object value)
                     throws PropertyNotFoundException

  Specified by:
    `setProperty` in interface `HasProperties`
  Throws:
    `PropertyNotFoundException`

### getProperties

    public Properties getProperties()

  Specified by:
    `getProperties` in interface `HasProperties`

### setProperties

    public void setProperties(Properties properties)

  Specified by:
    `setProperties` in interface `HasProperties`

### main

    public static void main(java.lang.String[] args)
                     throws java.io.IOException,
                            PropertyNotFoundException

  Throws:
    `java.io.IOException`
    `PropertyNotFoundException`

### doIt

    public void doIt(java.lang.String[] args)
              throws java.io.IOException,
                     PropertyNotFoundException

  Throws:
    `java.io.IOException`
    `PropertyNotFoundException`

### badInput

    private void badInput(java.lang.String comment)

### checkInput

    private void checkInput(java.lang.String[] args)
                     throws java.io.IOException,
                            PropertyNotFoundException

  Throws:
    `java.io.IOException`
    `PropertyNotFoundException`

### readFiles

    private void readFiles()

### writeFiles

    private void writeFiles()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD