File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to invoke own customized package implicitly like java.lang Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

How to invoke own customized package implicitly like java.lang

Robin Rath
Greenhorn

Joined: Jan 07, 2008
Posts: 10
Hi All,
I want to write a package that should be imported automatically like java.lang. Can anybody help me!Its urgent please reply me soon, I will be greatfull to you.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42585
    
  65
That's not possible. (And if it were, it would be a functionality of the compiler, not the code you create.) What's the big deal with having an import statement in a source file?


Ping & DNS - my free Android networking tools app
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8963
    
    9

Please do not post the same question more than once. It causes confusion and duplication of effort as the community tries to help everyone.


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to invoke own customized package implicitly like java.lang