com.tapina.robe.swi.clib.stdio.printf
Class PrintfEngine
java.lang.Object
com.tapina.robe.swi.clib.stdio.printf.PrintfEngine
- Direct Known Subclasses:
- Lava3Printf
- public abstract class PrintfEngine
- extends java.lang.Object
Created by IntelliJ IDEA.
User: gareth
Date: 17-May-2005
Time: 20:01:14
To change this template use File | Settings | File Templates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintfEngine
public PrintfEngine()
printf
public abstract void printf(java.lang.String formatString,
VarArgs va)
sprintf
public abstract java.lang.String sprintf(java.lang.String formatString,
VarArgs va)
getInstance
public static final PrintfEngine getInstance()
- This method finds the printf implementation by reflection.
This allows us to have multiple implementations which will only load successfully if their required
dependencies are present. Otherwise, they will not load but in all cases the rest of the application
remains decoupled from the dependencies and so will load and run correctly.
- Returns:
- implementation
Copyright © 2003-2005 . All Rights Reserved.