Package org.tentackle.persist.wurblet
Class RemoteIncludes
java.lang.Object
org.tentackle.persist.wurblet.RemoteIncludes
Handles generated .remote and .impl-code.
Also creates the RMI-java files, if missing.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendImpl(String text) Appends text to impl file.voidappendRemote(String text) Appends text to remote file.voiddiscard()Marks the heapfiles as discarded.
Such files should not be used to generate code because their contents are incomplete because of former errors.
-
Constructor Details
-
RemoteIncludes
Create remote includes.- Parameters:
wurblet- the wurblet- Throws:
org.wurbelizer.wurbel.WurbelException- if failed
-
-
Method Details
-
discard
public void discard()Marks the heapfiles as discarded.
Such files should not be used to generate code because their contents are incomplete because of former errors. Wurblets reading this file should throw aWurbelDiscardException. -
appendRemote
Appends text to remote file.- Parameters:
text- the text to append
-
appendImpl
Appends text to impl file.- Parameters:
text- the text to append
-
getRemoteStream
- Returns:
- get the remote stream
-
getImplStream
- Returns:
- the impl stream
-