package brn.gui.reports;


import java.util.Enumeration;

import org.eclipse.core.runtime.Platform;
import org.osgi.framework.Bundle;

/**
 * Represents the resource entry of sample screenshot image
 */
public class SampleIncludedSourceEntry
{

	private static final String SAMPLE_REPORTS_HOST = "brn.gui"; 

	private static Bundle samplesBundle = Platform.getBundle( SAMPLE_REPORTS_HOST );

	private static final String reportsPath = "/reports"; 


	public static Enumeration getReports( )
	{
		return samplesBundle.findEntries(reportsPath, "*.rpt*", false );
	}

//	public static Enumeration getEntries( String path )
//	{
//		// The plug-in should be packaged in zip
//		return samplesBundle.findEntries( path, "*.*", false ); //$NON-NLS-1$
//	}
}
