Package helma.util

Examples of helma.util.MimePart


                    body.write(b, 0, read);

                in.close();
            }

            MimePart mime = new MimePart(filename, body.toByteArray(), contentType);

            if (lastmod > 0) {
                mime.setLastModified(new Date(lastmod));
            }

            mime.setETag(etag);

            return Context.toObject(mime, this);
        } catch (Exception x) {
            app.logError("Error getting URL "+location, x);
        }
View Full Code Here

TOP

Related Classes of helma.util.MimePart

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.