public class LDIF2ImpExConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENCODING |
| Constructor and Description |
|---|
LDIF2ImpExConverter(File file,
ConfigValueObject config)
Opens the file and sets the given encoding.
|
LDIF2ImpExConverter(InputStream inputStream,
ConfigValueObject config)
Opens the given Inputstream with the given file.
|
LDIF2ImpExConverter(Reader reader,
ConfigValueObject config)
Opens the given reader.
|
LDIF2ImpExConverter(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(String mode) |
ImpExEntry |
generateImportLine(LDAPGenericObject obj,
String mode) |
ImpExMedia |
getExportAsMedia() |
String |
getExportAsString() |
public static final String DEFAULT_ENCODING
public LDIF2ImpExConverter(String fileName, ConfigValueObject config) throws UnsupportedEncodingException, FileNotFoundException
fileName - the filename of the LDIF fileUnsupportedEncodingException - thrown by false encoding typeFileNotFoundException - thrown if file not foundpublic LDIF2ImpExConverter(File file, ConfigValueObject config) throws UnsupportedEncodingException, FileNotFoundException
file - the LDIF fileUnsupportedEncodingException - thrown by false encoding typeFileNotFoundException - thrown if file not foundpublic LDIF2ImpExConverter(InputStream inputStream, ConfigValueObject config) throws UnsupportedEncodingException
inputStream - the InputStreamUnsupportedEncodingExceptionpublic LDIF2ImpExConverter(Reader reader, ConfigValueObject config)
"UTF-8"reader - the readerpublic boolean generateImpExScript()
throws JaloBusinessException,
UnsupportedEncodingException
generateImpExScript( "INSERT" )JaloBusinessExceptionUnsupportedEncodingExceptionpublic boolean generateImpExScript(String mode) throws JaloBusinessException, UnsupportedEncodingException
public ImpExEntry generateImportLine(LDAPGenericObject obj, String mode)
public ImpExMedia getExportAsMedia()
public String getExportAsString()
Copyright © 2017 SAP SE. All Rights Reserved.