org.drools.kproject
Interface File

All Superinterfaces:
Resource

public interface File
extends Resource


Method Summary
 void create(InputStream is)
           
 boolean exists()
           
 InputStream getContents()
           
 String getName()
           
 Path getPath()
           
 void setContents(InputStream is)
           
 

Method Detail

getName

String getName()

exists

boolean exists()

getContents

InputStream getContents()
                        throws IOException
Throws:
IOException

setContents

void setContents(InputStream is)
                 throws IOException
Throws:
IOException

create

void create(InputStream is)
            throws IOException
Throws:
IOException

getPath

Path getPath()
Specified by:
getPath in interface Resource


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.