if(directory)
if(symlink) { int index = line.lastIndexOf(" -> "); if(index != 0) line = line.substring(0,index); } else if(directory)
	private String getShortName(String line)	{		boolean directory = (line.charAt(0) == 'd');		int fieldCount = 0;		boolean lastWasSpace = false;		int i;		for(i = 0; i < line.length(); i++)		{			if(line.charAt(i) == ' ')			{				if(lastWasSpace)					continue;				else				{					lastWasSpace = true;					fieldCount++;				}			}			else			{				lastWasSpace = false;				if(fieldCount == 8)					break;			}		}		line = line.substring(i);		if(directory)			line = line + '/';		return line;	}