Package org.smooks.io

Class ResourceOutputStream

    • Constructor Detail

      • ResourceOutputStream

        public ResourceOutputStream​(org.smooks.api.ExecutionContext executionContext,
                                    String resourceName)
    • Method Detail

      • getOutputStream

        protected OutputStream getOutputStream​(String resourceName,
                                               org.smooks.api.ExecutionContext executionContext)
                                        throws org.smooks.api.SmooksException
        Get an OutputStream to the named Resource.
        Parameters:
        resourceName - The resource name.
        executionContext - The current ExececutionContext.
        Returns:
        An OutputStream to the named Resource.
        Throws:
        org.smooks.api.SmooksException - Unable to access OutputStream.
      • getDelegateOutputStream

        public OutputStream getDelegateOutputStream()