Package com.log4ic.entity

Examples of com.log4ic.entity.DocAttachment


    public IDocAttachment getDocAttachmentById(int id) {
        //TODO  获取文档
        try {
            DocumentRelation relation = relationDao.getRelation(id);
            DocAttachment docAttachment = new DocAttachment(new File(relation.getLocation()));
            docAttachment.setName(relation.getFileName());
            return docAttachment;
        } catch (NamingException e) {
            e.printStackTrace();
        } catch (SQLException e) {
            e.printStackTrace();
View Full Code Here

TOP

Related Classes of com.log4ic.entity.DocAttachment

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.