public static Document buildDocument ( DocumentBuilder withBuilder , Reader fromReader ) throws SAXException , IOException { return buildDocument ( withBuilder , new InputSource ( fromReader ) ) ; }
Utility method to build a Document using a specific DocumentBuilder and reading characters from a specific Reader .