static public XMLStore createFromInputStream ( InputStream is1 , InputStream is2 , XMLStore storedDefaults ) throws java . io . IOException { if ( debugWhichStore ) System . out . println ( "XMLStore read from input stream " + is1 ) ; return new XMLStore ( is1 , is2 , storedDefaults ) ; }
Create an XMLStore reading from an input stream . Because of some peculiariteis you must open the input stream wtice and pass both in .