Package eu.planets_project.ifr.core.storage.api.DigitalObjectManager

Examples of eu.planets_project.ifr.core.storage.api.DigitalObjectManager.DigitalObjectTooLargeException


        if (out.size() > MAX_SIZE)
        {
          _log.log(Level.INFO, "File size is larger then " + MAX_SIZE);
          out.close();
                contentStream.close();
          throw new DigitalObjectTooLargeException("File size is larger then " + MAX_SIZE);
        }
          out.write(buf, 0, len);
       }
//       _log.log(Level.INFO, "##### buf length: " + len + ", out.len: " + out.size());
       byte[] byteContent = out.toByteArray();
View Full Code Here

TOP

Related Classes of eu.planets_project.ifr.core.storage.api.DigitalObjectManager.DigitalObjectTooLargeException

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.