Class BinaryImportConverter
java.lang.Object
ch.tocco.nice2.entityoperation.impl.importer.converters.BinaryImportConverter
- All Implemented Interfaces:
- ImportConverter
this converter tries the following:
 - load a binary with input as hash
 → success
 -- return binary
 → failure (any exception thrown)
 -- create a new binary from input, either as pure base64 data or with a filename prefixed, separated by a semicolon
- 
Constructor SummaryConstructorsConstructorDescriptionBinaryImportConverter(BinaryFactory binaryFactory, BinaryHashingService binaryHashingService) 
- 
Method SummaryModifier and TypeMethodDescriptionconvertCell(org.apache.poi.ss.usermodel.Cell input) convertString(String input) getType()
- 
Constructor Details- 
BinaryImportConverterpublic BinaryImportConverter(BinaryFactory binaryFactory, BinaryHashingService binaryHashingService) 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein interface- ImportConverter
 
- 
convertString- Specified by:
- convertStringin interface- ImportConverter
- Throws:
- ImportConverterException
 
- 
convertCell- Specified by:
- convertCellin interface- ImportConverter
- Throws:
- ImportConverterException
 
 
-