rossi.fstools.fs.fatfs
Class VFatProcessor

java.lang.Object
  extended byrossi.fstools.fs.fatfs.VFatProcessor

public class VFatProcessor
extends java.lang.Object

State machine to handle adding long filenames onto direcotry entries. This processes a stream of FatDirEntry and VFatDirEntry records and pulls the long filenames out of the VFatDirEntries, and adds them to the matching FatDirEntrie's long filename field.

Normally, the longfile name entries occur in reverse sequence followed by the short filename, however it is possile for a non-vfat-aware OS to modify the disk, this can result in DirEntries being inserted or deleted in this sequence.


Constructor Summary
VFatProcessor()
          Default constructor.
 
Method Summary
 void processDirEntry(FatDirEntry dir)
           
 void processLFNEntry(VFatDirEntry vfat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VFatProcessor

public VFatProcessor()
Default constructor.

Method Detail

processLFNEntry

public void processLFNEntry(VFatDirEntry vfat)

processDirEntry

public void processDirEntry(FatDirEntry dir)