public short[] getPath() { short[] path; if (parentFile != null) { path = parentFile.getPath(); path[(short) (path.length + 1)] = getFileID(); } else path = new short[] {getFileID()}; return path; }
public DedicatedFile(short fid, DedicatedFile parent) { super(fid); parentFile = parent; parent.addSibling(this); }