Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.domain.model
Class OdiDataStore.FileDescriptor

java.lang.Object
  extended by oracle.odi.domain.support.BusinessObject
      extended by oracle.odi.domain.support.PersistableValue
          extended by oracle.odi.domain.model.OdiDataStore.FileDescriptor
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Enclosing class:
OdiDataStore

public static class OdiDataStore.FileDescriptor
extends oracle.odi.domain.support.PersistableValue

A FileDescriptor holds the OdiDataStore configuration specific to datastore defined on a FILE OdiTechnology.

Since:
11.1.1.3.0
See Also:
Serialized Form

Nested Class Summary
static class OdiDataStore.FileDescriptor.Format
          Defines the type of file that the datastore represents.
 
Constructor Summary
OdiDataStore.FileDescriptor(OdiDataStore.FileDescriptor.Format pFormat, java.lang.String pFieldSeparator, java.lang.String pTextDelimiter, java.lang.String pRowSeparator, int pSkipHeadingLines, java.lang.String pDecimalSeparator)
          Create a FileDescriptor.
 
Method Summary
 java.lang.String getDecimalSeparator()
          Character separating the integer and decimal part of a NUMERIC character.
 java.lang.String getFieldSeparator()
          Returns the field separator.
 OdiDataStore.FileDescriptor.Format getFormat()
          Returns the OdiDataStore.FileDescriptor.Format for this file datastore.
 java.lang.String getRowSeparator()
          Returns the record/row separator.
 int getSkipHeadingLines()
          Returns the number of record at the beginning of the file that are not data.
 java.lang.String getTextDelimiter()
          Returns the pair of characters delimiting a field.
 
Methods inherited from class oracle.odi.domain.support.BusinessObject
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdiDataStore.FileDescriptor

public OdiDataStore.FileDescriptor(OdiDataStore.FileDescriptor.Format pFormat,
                                   java.lang.String pFieldSeparator,
                                   java.lang.String pTextDelimiter,
                                   java.lang.String pRowSeparator,
                                   int pSkipHeadingLines,
                                   java.lang.String pDecimalSeparator)
Create a FileDescriptor.

Parameters:
pFormat - Format of the file
pFieldSeparator - Field Separator for Format.DELIMITED File
pTextDelimiter - Text delimiter
pRowSeparator - Row separator
pSkipHeadingLines - Number of lines to skip when reading the file
pDecimalSeparator - Decimal separator
Method Detail

getDecimalSeparator

public java.lang.String getDecimalSeparator()
Character separating the integer and decimal part of a NUMERIC character.

Returns:
the decimal separator

getFieldSeparator

public java.lang.String getFieldSeparator()
Returns the field separator.

One ore several characters separating the fields in a record. The unicode representation of character should be used: \\uxxxx..

Returns:
the field separator.

getFormat

public OdiDataStore.FileDescriptor.Format getFormat()
Returns the OdiDataStore.FileDescriptor.Format for this file datastore.

Returns:
the file format.

getRowSeparator

public java.lang.String getRowSeparator()
Returns the record/row separator.

One or several characters separating records in the file. The unicode representation of character should be used: \\uxxxx.

Returns:
the row separator

getSkipHeadingLines

public int getSkipHeadingLines()
Returns the number of record at the beginning of the file that are not data.

These lines are ignored.

Returns:
the number of lines to skip.

getTextDelimiter

public java.lang.String getTextDelimiter()
Returns the pair of characters delimiting a field.

This delimiter escapes the field and record separators. If a separator is in a field - between the delimiters - it is not taken into account. The two left and right delimiter characters may be similar or different.

Returns:
the text delimiters.

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.