Package org.apache.cocoon.components.source

Examples of org.apache.cocoon.components.source.ModifiableTraversableSource.createCollection()


                ((RestrictableSource)source).setSourceCredential(new SourceCredential(principal, password));

            if (source instanceof ModifiableTraversableSource) {
                ModifiableTraversableSource modifiabletraversablesource = (ModifiableTraversableSource)source;

                modifiabletraversablesource.createCollection(collectionname);

            } else
                throw new ProcessingException("Source isn't writeable");

        } catch (SourceException se) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.