Drools :: Compiler 6.2.0.Final

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.2.0.Final

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