return new BaseFile(baseStatusInfo);
String charset = null; try { charset = ((IEncodedStorage)local).getCharset(); } catch (CoreException e) { e.printStackTrace(); } return new BaseFile(baseStatusInfo, charset);
    private static IResourceVariant createBaseResourceVariant(IResource local, LocalResourceStatus baseStatusInfo) {        if( baseStatusInfo == null                || baseStatusInfo.getLastChangedRevision() == null )          return null;                if( local.getType() == IResource.FILE ) {            return new BaseFile(baseStatusInfo);        }        else {            return new BaseFolder(baseStatusInfo);        }    }