Java Doc for LibraryWriter.java in  » Ajax » Laszlo-4.0.10 » org » openlaszlo » compiler » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Ajax » Laszlo 4.0.10 » org.openlaszlo.compiler 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openlaszlo.compiler.ObjectWriter
      org.openlaszlo.compiler.DHTMLWriter
         org.openlaszlo.compiler.LibraryWriter

LibraryWriter
class LibraryWriter extends DHTMLWriter (Code)
Accumulates code, XML, and assets to a Library object file. Properties documented in Compiler.getProperties.


Field Summary
 PrintStreamout
    
 Elementroot
    

Constructor Summary
 LibraryWriter(Properties props, OutputStream stream, CompilerMediaCache cache, boolean importLibrary, CompilationEnvironment env, Element root)
    

Method Summary
public  voidclose()
    
public  voidimportResource(String fileName, String name)
     Import a resource file into the current movie.
public  voidimportResource(File inputFile, String name)
    
public  voidimportResource(List sources, String name, File parent)
    
 voidsetCanvas(Canvas canvas, String canvasConstructor)
    

Field Detail
out
PrintStream out(Code)



root
Element root(Code)




Constructor Detail
LibraryWriter
LibraryWriter(Properties props, OutputStream stream, CompilerMediaCache cache, boolean importLibrary, CompilationEnvironment env, Element root)(Code)




Method Detail
close
public void close() throws IOException(Code)



importResource
public void importResource(String fileName, String name) throws ImportResourceError(Code)
Import a resource file into the current movie. Using a name that already exists clobbers the old resource (for now).
Parameters:
  fileName - file name of the resource
Parameters:
  name - name of the MovieClip/Sprite
throws:
  CompilationError -



importResource
public void importResource(File inputFile, String name) throws ImportResourceError(Code)



importResource
public void importResource(List sources, String name, File parent)(Code)



setCanvas
void setCanvas(Canvas canvas, String canvasConstructor)(Code)
Sets the canvas for the app
Parameters:
  canvas -



Fields inherited from org.openlaszlo.compiler.DHTMLWriter
protected static Logger mLogger(Code)(Java Doc)
protected StringWriter scriptBuffer(Code)(Java Doc)
protected PrintWriter scriptWriter(Code)(Java Doc)

Methods inherited from org.openlaszlo.compiler.DHTMLWriter
void addPreloader(CompilationEnvironment env)(Code)(Java Doc)
void addPreloaderScript(String script)(Code)(Java Doc)
public int addScript(String script)(Code)(Java Doc)
public void close() throws IOException(Code)(Java Doc)
public void closeSnippet() throws IOException(Code)(Java Doc)
FontManager getFontManager()(Code)(Java Doc)
protected Resource getResource(String fileName, String name, boolean stop) throws ImportResourceError(Code)(Java Doc)
public void importBaseLibrary(String library, CompilationEnvironment env)(Code)(Java Doc)
public String importClickResource(File file) throws ImportResourceError(Code)(Java Doc)
public void importFontStyle(String fileName, String face, String style, CompilationEnvironment env) throws FileNotFoundException, CompilationError(Code)(Java Doc)
public void importPreloadResource(File fileName, String name) throws ImportResourceError(Code)(Java Doc)
public void importPreloadResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc)
public void importPreloadResource(List sources, String name, File parent) throws ImportResourceError(Code)(Java Doc)
public void importResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc)
public void importResource(File inputFile, String name) throws ImportResourceError(Code)(Java Doc)
public void importResource(List sources, String sResourceName, File parent)(Code)(Java Doc)
public boolean isDeviceFont(String face)(Code)(Java Doc)
public void openSnippet(String url) throws IOException(Code)(Java Doc)
void setCanvas(Canvas canvas, String canvasConstructor)(Code)(Java Doc)
void setCanvasDefaults(Canvas canvas, CompilerMediaCache mc)(Code)(Java Doc)
public void setDeviceFont(String face)(Code)(Java Doc)
public void setFontManager(FontManager fm)(Code)(Java Doc)
public void writeResourceLibraryDescriptor(List sources, String sResourceName, File parent)(Code)(Java Doc)

Fields inherited from org.openlaszlo.compiler.ObjectWriter
final protected int TWIP(Code)(Java Doc)
protected String liburl(Code)(Java Doc)
protected CompilerMediaCache mCache(Code)(Java Doc)
protected Map mClickResourceMap(Code)(Java Doc)
protected boolean mCloseCalled(Code)(Java Doc)
final protected CompilationEnvironment mEnv(Code)(Java Doc)
protected int mExecutionTimeout(Code)(Java Doc)
FontsCollector mFontsCollector(Code)(Java Doc)
protected int mHeight(Code)(Java Doc)
protected Element mInfo(Code)(Java Doc)
protected static Logger mLogger(Code)(Java Doc)
protected Map mMultiFrameResourceMap(Code)(Java Doc)
final protected HashSet mMultiFrameResourceSet(Code)(Java Doc)
protected SymbolGenerator mNameSupply(Code)(Java Doc)
protected boolean mPreloaderAdded(Code)(Java Doc)
protected Properties mProperties(Code)(Java Doc)
protected int mRecursionLimit(Code)(Java Doc)
protected Map mResourceMap(Code)(Java Doc)
protected OutputStream mStream(Code)(Java Doc)
protected int mWidth(Code)(Java Doc)

Methods inherited from org.openlaszlo.compiler.ObjectWriter
abstract void addPreloader(CompilationEnvironment env)(Code)(Java Doc)
abstract void addPreloaderScript(String script)(Code)(Java Doc)
abstract public int addScript(String script)(Code)(Java Doc)
abstract public void close() throws IOException(Code)(Java Doc)
abstract public void closeSnippet() throws IOException(Code)(Java Doc)
String createName()(Code)(Java Doc)
abstract FontManager getFontManager()(Code)(Java Doc)
protected Resource getMultiFrameResource(String fileName, String name, int fNum) throws ImportResourceError(Code)(Java Doc)
protected Resource getResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc)
protected Resource getResource(String fileName, String name, boolean stop) throws ImportResourceError(Code)(Java Doc)
abstract public void importBaseLibrary(String library, CompilationEnvironment env)(Code)(Java Doc)
abstract public String importClickResource(File file) throws ImportResourceError(Code)(Java Doc)
abstract void importFontStyle(String fileName, String face, String style, CompilationEnvironment env) throws FileNotFoundException, CompilationError(Code)(Java Doc)
protected Resource importMP3(String fileName, String name) throws IVException, IOException(Code)(Java Doc)
abstract public void importPreloadResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc)
abstract public void importPreloadResource(File fileName, String name) throws ImportResourceError(Code)(Java Doc)
abstract public void importPreloadResource(List sources, String name, File parent) throws ImportResourceError(Code)(Java Doc)
public String importResource(File file)(Code)(Java Doc)
abstract public void importResource(String fileName, String name) throws ImportResourceError(Code)(Java Doc)
abstract public void importResource(File fFile, String name) throws ImportResourceError(Code)(Java Doc)
abstract public void importResource(List sources, String name, File parent)(Code)(Java Doc)
protected Resource importSWF(String fileName, String name, boolean addStop) throws IVException, FileNotFoundException(Code)(Java Doc)
abstract public boolean isDeviceFont(String face)(Code)(Java Doc)
abstract public void openSnippet(String url) throws IOException(Code)(Java Doc)
abstract void setCanvas(Canvas canvas, String canvasConstructor)(Code)(Java Doc)
abstract void setCanvasDefaults(Canvas canvas, CompilerMediaCache mc)(Code)(Java Doc)
abstract public void setDeviceFont(String face)(Code)(Java Doc)
abstract public void setFontManager(FontManager fm)(Code)(Java Doc)
public void setScriptLimits(int recursion, int timeout)(Code)(Java Doc)
public static String stripBaseName(String fileName, CompilationEnvironment env)(Code)(Java Doc)
void warn(CompilationEnvironment env, String msg)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.