Package org.swordapp.server

Examples of org.swordapp.server.ResourcePart


                for (Bundle bundle : bundles)
                {
                    for (Bitstream bitstream : bundle.getBitstreams())
                    {
                        // note that individual bitstreams have actionable urls
                        ResourcePart part = new ResourcePart(this.urlManager.getActionableBitstreamUrl(bitstream));
                        part.setMediaType(bitstream.getFormat().getMIMEType());
                        resources.add(part);
                    }
                }
            }
View Full Code Here

TOP

Related Classes of org.swordapp.server.ResourcePart

Copyright © 2018 www.massapicom. 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.