|
accept two string in java and compare both string remove matching character and count remaining character now accept another string suppose total remaining character is 7 and third string length is 6 then count from one in remaining character and every 7 character last reaming character will be answer. Thanks
|
|
|
|
|
OK, I have done that; what's your next question?
Seriously, no one here is going to do your homework for you.
|
|
|
|
|
Send me $1000 and I will create the design document for that API.
|
|
|
|
|
Hi could any1 resolve me this issue. We are making a final year project to develop a system security application. 90% coding is done and now we need to get access of folders which means to link with dll file. So could any1 guide me on how to link java code to dll file. I'll be really kind to u.
|
|
|
|
|
Hari Kiran B M wrote: how to link java code to dll file. What exactly are you trying to do? If this is a C/C++ dll then you (probably) need to look at using the Java Native Interface[^].
|
|
|
|
|
This is what my all about. I need to encrypt folders ex. u've an idea of how the lock folder using lock folder software. In same way our project works but we'r trying to secure entire system. So do u've any idea on how to link our java program to windows folders. few told we need to access dll file. But our code is in java. I've become numb not getting anything. Could u pls help me.
|
|
|
|
|
You cannot encrypt folders at the application level, which is where Java apps run. This sort of activity has to be done at the driver/filter level.
|
|
|
|
|
ya got u. But we've written code nd we've given some input to check whether security is working. The code is working perfectly using rijndael algorithm oly thing is we need to link that encryption and decryption algorithm to windows folder.. Can u suggest me?
|
|
|
|
|
Hari Kiran B M wrote: Can u suggest me? Please read my previous answer. You cannot do this at the application level, you can only do it by adding a filter driver to the filesystem. And that can only be done in a native language such as C/C++ or Assembler.
|
|
|
|
|
how does java native interface works any idea
|
|
|
|
|
You need to go and read the documentation.
|
|
|
|
|
Presumably as a school project it is sufficient to encrypt files within a folder not the entire folder.
You can control this via java via the following process.
- FIND a command line utility (run via the console window NOT a UI/GUI app).
- Learn how to use that tool, by figuring out how to encrypt/decrypt and pay attention to the OUTPUT.
- After the above two steps then learn how to use Java java.lang.Process or Runtime.exec(). They are basically the same thing. Using these will REQUIRE using threads. If you are not using threads then you are not going to succeed.
- After you learn java.lang.Process then you can use it to run the tool above within your java application.
|
|
|
|
|
solve the expression
public int expression("10+20+30+40")
|
|
|
|
|
|
When was such an 'eval' feature added to the Java language? Do you have a link to more info on that topic (well, a Google search for Java expression keyword just delivers so many unrelated things...)?
|
|
|
|
|
Bernhard Hiller wrote: When was such an 'eval' feature added to the Java language? Don't know if there is such a function. My response was based on the quality of the question.
|
|
|
|
|
Obviously it is either '10+20+30+40' or '10203040'
|
|
|
|
|
how to read a word document/pdf document in php
|
|
|
|
|
This has nothing to do with Java. Why didn't you use the PHP forum[^]?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
How to create two different database object using spring jdbc template..?
Thirunavukkarasu Dhanushkodi
|
|
|
|
|
|
|
I answered basically the same question from you this time last year.
|
|
|
|
|