public static List < TransformationDescription > getDescriptionsFromXMLInputStream ( InputStream fileContent ) { List < TransformationDescription > desc = new ArrayList < TransformationDescription > ( ) ; try { desc = loadDescrtipionsFromXMLInputSource ( new InputSource ( fileContent ) , null ) ; } catch ( Exception e ) { LOGGER . error ( "Unable to read the descriptions from input stream. " , e ) ; } return desc ; }
Scans an input stream for transformation descriptions and returns all successfully read transformation descriptions .