Package net.sf.jazzlib

Examples of net.sf.jazzlib.ZipFile


   * @throws IOException
   */
  @Test
  public void testLoadResources_ZipFile() throws FileNotFoundException, IOException {
    // given
    ZipFile zipFile = new ZipFile(testBookFilename);
   
    // when
    Resources resources = ResourcesLoader.loadResources(zipFile, encoding);
   
    // then
View Full Code Here


   * @throws IOException
   */
  @Test
  public void testLoadResources_ZipFile_lazy_all() throws FileNotFoundException, IOException {
    // given
    ZipFile zipFile = new ZipFile(testBookFilename);
   
    // when
    Resources resources = ResourcesLoader.loadResources(zipFile, encoding, Arrays.asList(MediatypeService.mediatypes));
   
    // then
View Full Code Here

   * @throws IOException
   */
  @Test
  public void testLoadResources_ZipFile_partial_lazy() throws FileNotFoundException, IOException {
    // given
    ZipFile zipFile = new ZipFile(testBookFilename);
   
    // when
    Resources resources = ResourcesLoader.loadResources(zipFile, encoding, Arrays.asList(MediatypeService.CSS));
   
    // then
View Full Code Here

TOP

Related Classes of net.sf.jazzlib.ZipFile

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.