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