Package org.springframework.boot.loader.data

Examples of org.springframework.boot.loader.data.RandomAccessDataFile


    assertThat(this.jarFile.size(), equalTo((int) this.rootJarFile.length()));
  }

  @Test
  public void close() throws Exception {
    RandomAccessDataFile randomAccessDataFile = spy(new RandomAccessDataFile(
        this.rootJarFile, 1));
    JarFile jarFile = new JarFile(randomAccessDataFile);
    jarFile.close();
    verify(randomAccessDataFile).close();
  }
View Full Code Here


   * Create a new {@link JarFile} backed by the specified file.
   * @param file the root jar file
   * @throws IOException
   */
  public JarFile(File file) throws IOException {
    this(new RandomAccessDataFile(file));
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.loader.data.RandomAccessDataFile

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.