String rdnAttr = File.pathSeparatorChar == '\\' ? WINDOWSFILE_ATTR : UNIXFILE_ATTR;
String rdnAttr = File.separatorChar == '\\' ? WINDOWSFILE_ATTR : UNIXFILE_ATTR;
    private Attributes getLdifFileEntry( DirContext root, File ldif ) throws NamingException    {        String rdnAttr = File.pathSeparatorChar == '\\' ? WINDOWSFILE_ATTR : UNIXFILE_ATTR;        StringBuffer buf = new StringBuffer();        buf.append( rdnAttr );        buf.append( "=" );        buf.append( getCanonical( ldif ) );        buf.append( "," );        buf.append( LDIF_FILES_DN );        try        {            return root.getAttributes( buf.toString(), new String[]{ "createTimestamp" });        }        catch ( NamingException e )        {            return null;        }    }