Package org.eclipse.sapphire.modeling

Examples of org.eclipse.sapphire.modeling.ResourceStore


        final IProject project = project();
       
        final IFile xmlFile = project.getFile( "file.xml" );
        xmlFile.create( new ByteArrayInputStream( new byte[ 0 ] ), true, null );
       
        final ResourceStore xmlFileStore = service.convert( xmlFile, ResourceStore.class );
        assertNotNull( xmlFileStore );
       
        final IFile txtFile = project.getFile( "file.txt" );
        txtFile.create( new ByteArrayInputStream( new byte[ 0 ] ), true, null );
       
        final ResourceStore txtFileStore = service.convert( txtFile, ResourceStore.class );
        assertNotNull( txtFileStore );
       
        final IFile binFile = project.getFile( "file.bin" );
        binFile.create( new ByteArrayInputStream( new byte[ 0 ] ), true, null );
       
        final ResourceStore binFileStore = service.convert( binFile, ResourceStore.class );
        assertNotNull( binFileStore );
    }
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.modeling.ResourceStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.