Package org.springframework.boot.loader.data

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


    return data.getSubsection(offset, data.getSize() - offset);
  }

  private List<JarEntryData> loadJarEntries(CentralDirectoryEndRecord endRecord)
      throws IOException {
    RandomAccessData centralDirectory = endRecord.getCentralDirectory(this.data);
    int numberOfRecords = endRecord.getNumberOfRecords();
    List<JarEntryData> entries = new ArrayList<JarEntryData>(numberOfRecords);
    InputStream inputStream = centralDirectory.getInputStream(ResourceAccess.ONCE);
    try {
      JarEntryData entry = JarEntryData.fromInputStream(this, inputStream);
      while (entry != null) {
        entries.add(entry);
        processEntry(entry);
View Full Code Here

TOP

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

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.