Java Doc for ILocator.java in  » PDF » jPod » de » intarsys » tools » locator » 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 » PDF » jPod » de.intarsys.tools.locator 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.intarsys.tools.locator.ILocator

All known Subclasses:   de.intarsys.tools.locator.ReadOnlyLocator,  de.intarsys.tools.locator.CommonLocator,
ILocator
public interface ILocator extends ISynchronizable(Code)
The locator specifies the physical location of a resource.





Method Summary
public  voiddelete()
     Delete the artifact referenced by this.
public  booleanexists()
     Answer true if the location designated by this exists.
public  ILocatorgetChild(String name)
     The locator for the resource name within the context of this.
public  StringgetFullName()
     The full physical name of this.
public  InputStreamgetInputStream()
     Return an InputStream on the data represented by the receiver.
public  StringgetLocalName()
     The local name of the receiver within its parent.
public  OutputStreamgetOutputStream()
     Return an OutputStream on the location represented by the receiver.
public  ILocatorgetParent()
     The ILocator that is one hierarchy level up or null.
public  IRandomAccessgetRandomAccess()
     The IRandomAccess for this.
public  ReadergetReader()
     A Reader on the data represented by the receiver.
public  ReadergetReader(String encoding)
     A Reader on the data represented by the receiver for the given encoding.
Parameters:
  encoding - The encoding.
public  StringgetType()
     The type of the resource.
public  StringgetTypedName()
     The qualified local name of the receiver within its parent that includes the type specification for the destination if appropriate.
public  WritergetWriter()
     A Writer on the location represented by the receiver.
public  WritergetWriter(String encoding)
     A Writer on the location represented by the receiver for the given encoding.
Parameters:
  encoding - The encoding.
public  booleanisDirectory()
     Answer true if the location designated by this is a directory.
public  booleanisReadOnly()
     true if the specified resource is read only.
public  ILocator[]listLocators(ILocatorNameFilter filter)
     Return an array of ILocator that are children of the receiver that conform to filter.
public  voidrename(String newName)
     Rename the complete physical name to newName.
Parameters:
  newName - The new name of the ILocator.
public  voidsetReadOnly()
     Make the receiver read only.
public  URLtoURL()
     The location designated by this as an URL .



Method Detail
delete
public void delete() throws IOException(Code)
Delete the artifact referenced by this.
throws:
  IOException -



exists
public boolean exists()(Code)
Answer true if the location designated by this exists. Answer true if the location designated by thisexists.



getChild
public ILocator getChild(String name)(Code)
The locator for the resource name within the context of this. This may for example be an ILocator to a file within a directory.
Parameters:
  name - The name of the resource to be located. The ILocator for the resource with the name "name" withinthe context of this.



getFullName
public String getFullName()(Code)
The full physical name of this.

This method returns a representation that is proprietary to the underlying physical representation, for example a file name, a SQL statement or so on.

The full physical name of the receiver.



getInputStream
public InputStream getInputStream() throws IOException(Code)
Return an InputStream on the data represented by the receiver. An InputStream on the data represented by the receiver.
throws:
  IOException -



getLocalName
public String getLocalName()(Code)
The local name of the receiver within its parent. The local name of the receiver within its parent.



getOutputStream
public OutputStream getOutputStream() throws IOException(Code)
Return an OutputStream on the location represented by the receiver. An OutputStream on the location represented by thereceiver.
throws:
  IOException -



getParent
public ILocator getParent()(Code)
The ILocator that is one hierarchy level up or null. This may be for example the directory where the currently designated resource is found. The ILocatorthat is one hierarchy level up or null.



getRandomAccess
public IRandomAccess getRandomAccess() throws IOException(Code)
The IRandomAccess for this. The IRandomAccess for this.
throws:
  IOException -



getReader
public Reader getReader() throws IOException(Code)
A Reader on the data represented by the receiver. A Reader on the data represented by the receiver.
throws:
  IOException -



getReader
public Reader getReader(String encoding) throws IOException(Code)
A Reader on the data represented by the receiver for the given encoding.
Parameters:
  encoding - The encoding. A Reader on the data represented by the receiver for thegiven encoding.
throws:
  IOException -



getType
public String getType()(Code)
The type of the resource. This may be for example a mime type or the file extension of the underlying file. The type of the resource



getTypedName
public String getTypedName()(Code)
The qualified local name of the receiver within its parent that includes the type specification for the destination if appropriate. This is for example a filename with its correct suffix. Some locator may return the same name as "getLocalName". The qualified local name of the receiver within its parent thatincludes the type specification for the destination ifappropriate.



getWriter
public Writer getWriter() throws IOException(Code)
A Writer on the location represented by the receiver. A Writer on the location represented by the receiver.
throws:
  IOException -



getWriter
public Writer getWriter(String encoding) throws IOException(Code)
A Writer on the location represented by the receiver for the given encoding.
Parameters:
  encoding - The encoding. A Writer on the location represented by the receiver forthe given encoding.
throws:
  IOException -



isDirectory
public boolean isDirectory()(Code)
Answer true if the location designated by this is a directory. A directory location serves as a container for other resources, you can never getInputStream on this. Answer true if the location designated by this isa directory.



isReadOnly
public boolean isReadOnly()(Code)
true if the specified resource is read only. true if the specified resource is read only.



listLocators
public ILocator[] listLocators(ILocatorNameFilter filter) throws IOException(Code)
Return an array of ILocator that are children of the receiver that conform to filter. This method never returns null.
Parameters:
  filter - The filter used to examine the child resources. An array of ILocator objects that conform to the filterargument.
throws:
  IOException -



rename
public void rename(String newName) throws IOException(Code)
Rename the complete physical name to newName.
Parameters:
  newName - The new name of the ILocator. The new name isexpected to contain both local and type part of the name.
throws:
  IOException -



setReadOnly
public void setReadOnly()(Code)
Make the receiver read only. This is a one way switch only.



toURL
public URL toURL()(Code)
The location designated by this as an URL . The location designated by this as an URL.



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