06-23-2006
Quote:
Originally Posted by girish.sh
Also, how to call the methods of the class??
Calling methods is the class's responsibility. It depends on how you have coded your class.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am new to shell script, just wanted you guy to help.
How do i call a java program by using shell script, pls give some samle code for it,
thank you ver much. (2 Replies)
Discussion started by: aaabbb123123
2 Replies
2. Shell Programming and Scripting
Hi,
I want to call multiple java commands through a .sh file. I have drafted one with my least knowledge. But its not working. Pls help. I am trying to run this from Sun Solaris (OS 5.10) server with 10g oracle database.
echo \* starting script AUTORUN
echo \* get the Monitor path... (4 Replies)
Discussion started by: vivekdn
4 Replies
3. Programming
hi
there is example (on link given below )of such code that contains java class reference in c++ program.
http://slackware.cs.utah.edu/pub/slackware/slackware-7.1/docs/Linux-HOWTO/Process-Monitor-HOWTO
I am new in linux environment. and not able to compile it.
when i compile it through... (1 Reply)
Discussion started by: surinder
1 Replies
4. Shell Programming and Scripting
Hi,
Is it possible to call the constructur of a java class in a shell script?
I know you can call static methods, but can you also call the constructor?
tnx. (1 Reply)
Discussion started by: thebladerunner
1 Replies
5. Shell Programming and Scripting
I have a java program to validate a XML file. I want to call this java program in a shell script which will be registered as concurrent program in oracle apps.
Can anyone please let me know the step by step appraoch required to call java program in shell script like ....intial steps... (1 Reply)
Discussion started by: kcp_pavan
1 Replies
6. Programming
Under windows environment,I can compile C code into dll,then I can use Java to call this dll. I want to know whether Java can call C under Unix environment? How to do it? Where can I get example Java and C code?
Thanks (1 Reply)
Discussion started by: konvalo
1 Replies
7. Shell Programming and Scripting
Hi All,
Can anybody please help me with how can i call my java program from shell and also pass parameter along with it so that the program can interpret the value/int and update the database.
Thanks in advance
Neha (1 Reply)
Discussion started by: Neha Goyal
1 Replies
8. Shell Programming and Scripting
Hi
I have around 1000+ java file under different folder in /home/raxit/source and in each file i want to add a fix method.
--------
/*
Some comment for few lines
like header block etc..
*/
package
import
class A {
method1 ()
{
}
method2 () (3 Replies)
Discussion started by: raxitsheth
3 Replies
9. Programming
I add some new java jar files in the old project, how can I edit the class path?
How can I compile all the java classes by just type 'C':o (3 Replies)
Discussion started by: Hscript
3 Replies
10. Programming
Can anyone tell me if this is correct when creating classes in Java?
public abstract class Animal
{
public class Point
{
public int x,y;
}
public class Animal
{
protected Point loc;
protected String name;
protected Random rng;
String... (3 Replies)
Discussion started by: totoro125
3 Replies
LEARN ABOUT PHP
aggregate_methods_by_regexp
AGGREGATE_METHODS_BY_REGEXP(3) 1 AGGREGATE_METHODS_BY_REGEXP(3)
aggregate_methods_by_regexp - Selective class methods aggregation to an object using a regular expression
SYNOPSIS
void aggregate_methods_by_regexp (object $object, string $class_name, string $regexp, [bool $exclude = false])
DESCRIPTION
Aggregates methods from a class to an existing object using a regular expression to match method names.
The class constructor or methods whose names start with an underscore character (_), which are considered private to the aggregated class,
are always excluded.
PARAMETERS
o $object
-
o $class_name
-
o $regexp
-
o $exclude
- The optional parameter $exclude is used to decide whether the regular expression will select the names of methods to include in
the aggregation (i.e. $exclude is FALSE), or to exclude from the aggregation ($exclude is TRUE).
RETURN VALUES
No value is returned.
SEE ALSO
aggregate(3), aggregate_info(3), aggregate_methods(3), aggregate_methods_by_list(3), aggregate_properties(3), aggregate_proper-
ties_by_list(3), aggregate_properties_by_regexp(3), deaggregate(3).
PHP Documentation Group AGGREGATE_METHODS_BY_REGEXP(3)