bos = new ByteArrayOutputStream( 1024 );
m_descriptor.write( bos );
bis = new ByteArrayInputStream( bos.toByteArray() );
xis = new XInputStreamImpl( bis );
xSFA2.writeFile( pathToDescriptor, xis );
}
finally
{
if (bos != null) bos.close();
if (bis != null) bis.close();