blob: 46cf72260264e1df3e529f1c34f4a2127178a32d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2007 Boeing.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
package org.eclipse.osee.define.utility;
import java.nio.CharBuffer;
import org.eclipse.core.filesystem.IFileStore;
/**
* @author Roberto E. Escobar
*/
public interface IResourceLocator {
public boolean isValidDirectory(IFileStore fileStore);
public boolean isValidFile(IFileStore fileStore);
public boolean hasValidContent(CharBuffer fileBuffer);
public String getIdentifier(IFileStore fileStore, CharBuffer fileBuffer) throws Exception;
}