Package edu.harvard.hul.ois.jhove

Examples of edu.harvard.hul.ois.jhove.Agent


    // I have to pass it to each method, WHY SHOULD I USE a class
    // instance ???
    DataInputStream dstream = getBufferedDataStream (inputStream,
                             _app != null ?
                             _je.getBufferSize () : 0);
    Agent agent = new Agent ("Harvard University Library",
                 AgentType.EDUCATIONAL);
    agent.setAddress ("Engineering Ingegneria Informatica S.p.a., " +
              "Direzione Supporto e Servizi Tecnologici, " +
              "Corso Stati Uniti 23/A, 25100 Padova.");
    agent.setTelephone ("+39 (49) 8283-411");
    agent.setEmail("saint@eng.it");
    _vendor = agent;

    Document doc = new Document ("PNG (Portable Network Graphics): a file format (pronounced \"ping\"), for a lossless, portable, compressed individual computer graphics image transmitted across the Internet. Indexed-colour, greyscale, and truecolour images are supported, with optional transparency",
                   DocumentType.REPORT);
    agent = new Agent ("W3 Consortium",
               AgentType.STANDARD);
    agent.setAddress ("E.M.E.A.: ERCIM, 2004 route des Lucioles, BP 93, 06902 Sophia-Antipolis Cedex, France\nJapan & Korea: Keio University, 5322 Endo, Fujisawa, Kanagawa 252-8520 Japan\nAll other countries: MIT, 32 Vassar Street, Room 32-G515, Cambridge, MA 02139 USA");
    agent.setTelephone ("E.M.E.A. : +33.4.92.38.75.90\nJapan & Korea: +81.466.49.1170\nAll other countries: +1.617.253.2613");
    agent.setWeb ("http://www.w3.org/");
    doc.setAuthor (agent);
    doc.setDate ("2003-11-10");
    doc.setIdentifier (new Identifier ("http://www.w3.org/Graphics/GIF/spec-gif87.txt",
                       IdentifierType.URL));
    _specification.add (doc);
View Full Code Here

TOP

Related Classes of edu.harvard.hul.ois.jhove.Agent

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.