Drools :: Compiler 6.0.0.CR5

org.drools.compiler.compiler.io
Interface File

All Superinterfaces:
Resource
All Known Implementing Classes:
MemoryFile

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

Drools :: Compiler 6.0.0.CR5

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