EftarFile.java revision 1190
0N/A * The contents of this file are subject to the terms of the 137N/A * Common Development and Distribution License (the "License"). 0N/A * You may not use this file except in compliance with the License. 0N/A * language governing permissions and limitations under the License. 0N/A * When distributing Covered Code, include this CDDL HEADER in each 0N/A * If applicable, add the following below this CDDL HEADER, with the 0N/A * fields enclosed by brackets "[]" replaced with your own identifying 0N/A * information: Portions Copyright [yyyy] [name of copyright owner] 137N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 0N/A * Use is subject to license terms. 0N/A * An Extremely Fast Tagged Attribute Read-only File System 0N/A * Created on October 12, 2005 0N/A * A Eftar File has the following format 0N/A * FILE --> Record ( Record | tagString ) * 0N/A * Record --> 64bit:Hash 16bit:childrenOffset 16bit:(numberChildren|lenthOfTag) 16bit:tagOffset 0N/A * It is a tree of tagged names, 0N/A * doing binary search in sorted list of children 137N/A for (
int i =
0; i < n; i++) {
587N/A * Main method is used to generate eftar file from the path description 587N/A * file in the run scripts. 587N/A * @param args Input files and output file