public class LDIF2ImpExConverter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ENCODING |
| Constructor and Description |
|---|
LDIF2ImpExConverter(java.io.File file,
ConfigValueObject config)
Opens the file and sets the given encoding.
|
LDIF2ImpExConverter(java.io.InputStream inputStream,
ConfigValueObject config)
Opens the given Inputstream with the given file.
|
LDIF2ImpExConverter(java.io.Reader reader,
ConfigValueObject config)
Opens the given reader.
|
LDIF2ImpExConverter(java.lang.String fileName,
ConfigValueObject config)
Opens the file with the given filename and sets the given encoding.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
generateImpExScript()
calls
generateImpExScript( "INSERT" ) |
boolean |
generateImpExScript(java.lang.String mode) |
ImpExEntry |
generateImportLine(LDAPGenericObject obj,
java.lang.String mode) |
ImpExMedia |
getExportAsMedia() |
java.lang.String |
getExportAsString() |
public static final java.lang.String DEFAULT_ENCODING
public LDIF2ImpExConverter(java.lang.String fileName,
ConfigValueObject config)
throws java.io.UnsupportedEncodingException,
java.io.FileNotFoundException
fileName - the filename of the LDIF filejava.io.UnsupportedEncodingException - thrown by false encoding typejava.io.FileNotFoundException - thrown if file not foundpublic LDIF2ImpExConverter(java.io.File file,
ConfigValueObject config)
throws java.io.UnsupportedEncodingException,
java.io.FileNotFoundException
file - the LDIF filejava.io.UnsupportedEncodingException - thrown by false encoding typejava.io.FileNotFoundException - thrown if file not foundpublic LDIF2ImpExConverter(java.io.InputStream inputStream,
ConfigValueObject config)
throws java.io.UnsupportedEncodingException
inputStream - the InputStreamjava.io.UnsupportedEncodingExceptionpublic LDIF2ImpExConverter(java.io.Reader reader,
ConfigValueObject config)
"UTF-8"reader - the readerpublic boolean generateImpExScript()
throws JaloBusinessException,
java.io.UnsupportedEncodingException
generateImpExScript( "INSERT" )JaloBusinessExceptionjava.io.UnsupportedEncodingExceptionpublic boolean generateImpExScript(java.lang.String mode)
throws JaloBusinessException,
java.io.UnsupportedEncodingException
JaloBusinessExceptionjava.io.UnsupportedEncodingExceptionpublic ImpExEntry generateImportLine(LDAPGenericObject obj, java.lang.String mode)
public ImpExMedia getExportAsMedia()
public java.lang.String getExportAsString()
Copyright © 2018 SAP SE. All Rights Reserved.