I am searching for a programmer in java

I am searching for a programmer in java, to create one class that does the following things:
1.- Obtain a jpg image from a data base
2.- Transform from rgb to hls.
3.- To make a histogram of H and S (Tonality and Saturation)
4.- Fom the collected data of the histograms, apply the hashing and it�s numeric data, save as an attribute from the image in the BD
contact to [email protected]
as soon as possible
Mexico

I am searching for a programmer in javaDude, you just found a whole bunch of 'em!
, to create
one class that does the following things:
1.- Obtain a jpg image from a data base
2.- Transform from rgb to hls.
3.- To make a histogram of H and S (Tonality and
Saturation)
4.- Fom the collected data of the histograms, apply
the hashing and it�s numeric data, save as an
attribute from the image in the BD
contact to [email protected]
as soon as possible
Don't ask people to reply by private email. Most Forum regulars believe solving problems should be a public, transparent process during which a first try at an answer can and should be corrected if someone more knowledgeable notices that it is incomplete or incorrect. Also, they get some of their reward for being respondents from being seen to be competent and knowledgeable by their peers (not to mention the possibility of collecting some of those precious Duke Dollars.
MexicoThe whole country?!?
Seriously...
Before asking a technical question by email, or in a newsgroup, or on a website chat board, do the following:
* Try to find an answer by searching the Web.
* Try to find an answer by reading the manual.
* Try to find an answer by reading a FAQ.
* Try to find an answer by inspection or experimentation.
* Try to find an answer by asking a skilled friend.
* If you are a programmer, try to find an answer by reading the source code.
When you ask your question, display the fact that you have done these things first; this will help establish that you're not being a lazy sponge and wasting people's time. Better yet, display what you have learned from doing these things. We like answering questions for people who have demonstrated that they can learn from the answers.
--- From How To Ask Questions The Smart Way by Eric Steven Raymond

Similar Messages

  • Searching for a file in java

    What I am trying to do is not very uncommon. I want to open a file in it's default application (or at least in a common one.)
    Mainly I am currently thinking either HTML files or PDF's.
    What I was wondering is how to search for a file and get its directory path. For example I want to search for the file "Acrobat". In windows its directory is "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\Acrobat.exe"
    But I know in MAC or Unix the path could be very different. Not only that, but what if they did not use the default installation directory. I just want to find the path of a file by invoking a search. Is there currently any way to do this?
    I know I can open a JFileChooser and make the user search and find the program they wish to run it in, but that certainly is not very user friendly. I'd rather the program just searched for the proper application(s) and then called the exec() method to run the file in the program.
    Any help is appreciated.

    java.io.File provides a listRoots() method that returns all file system roots. So for Windoze you'd get 'A:/', 'B:/' 'C:/' ... etc.
    Unix you'd get '/' and so on.
    Now you can use other File methods to recursively scan the roots.
    Here's some (untried) code to get you going that searches for all java.exe found on all roots.
    import java.io.File;
    import java.util.Arrays;
    import java.io.FilenameFilter;
    import java.util.List;
    import java.io.IOException;
    public class FindIt {
      public FindIt () {
        File[] roots = File.listRoots();
        List list = new ArrayList();
        for (int i = 0; i < roots.length; i++) {
          scan(roots,list,new FilenameFilter(){
    public boolean accept(File file, String name) {
    return new File(file,name).isDirectory() ||
    name.equals("java.exe");
    public static void scan(File path,
    List list,
    FilenameFilter filter) throws IOException {
    // Get filtered files in the current path
    File[] files = path.listFiles(filter);
    // Process each filtered entry
    for (int i = 0; i < files.length; i++) {
    // recurse if the entry is a directory
    if (files[i].isDirectory()) {
    scan(files[i],list,filter);
    else {
    // add the filtered file to the list
    list.add(files[i]);
    } // for
    } // scan
    public static void main(String[] args) {
    new FindIt();
    You will run into problems with some roots as they will be removeable media (cd's diskettes) or network drives (potentially huge number of dirs to scan). So I do not recommend that you search on all roots, but a subset.
    Dave

  • Search for a wod in java classes in windows 7

    Hello,
    How to search for a specific word in a list of java classes in my windows directory? I know we can search in .java files but not sure how to do the search in .class files. Any help is really appreciated.
    Thank You
    -KK

    Hi,
    For searching in .class files, you need to decompile those using some decompiler.
    1) You can use JAD (Java Decompiler) and decomplie using these commmands:
    jad *.class
    rename *.jad *.java
    2) There is another decomplier, CAVAJ which is very user friendly. You just need to drag the class file onto this and it will show the java code for that class file.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Search for simple program in java

    hi
    i need a program that have more than 50 lines
    frogram that have else-if
    i need to make a work of qa
    thanks

    @khansartaj
    the main method is the method used by the VM to initiate an application. You need to implement this method in order to run the class. The parameter string[] args is a list of the commandline parameters passed to your application.

  • Any way to search for casts in java source code?

    Anyone know of a decent way to search your java source files to find all the casts?
    I ended up doing a simple text search for
         " = ("(quote marks not included) which works for my code because I am strict about writing my casts with spaces like
         String s = (String) iterator.next();Unfortunately, the above search has all kinds of problems with both false positives and negatives. It picks up lots of irrelevant lines like
         int index = (number > 0) ? 0 : 1;as well as misses casts that appear nested inside expressions like
         ((String) iter.next()).charAt(...)I suppose that one could do a regular expression search for any pair of open and close parens which bound non-blank text, but that would pick up even more non-cast expressions in typical java code.
    I think that the only way to properly do this is to have a tool which understands java syntax.
    Anyone know of an IDE which will do this? Does IntelliJ or Netbeans support this kind of search?
    In case you are wondering why I am interested in this, it is because I am refactoring some code to fully use generics, and searching for casts is one source of identifying candidates for genericity.

    cliffblob wrote:
    Better late than never?Yes!
    cliffblob wrote:
    ...The answer I found to ID unnecessary casts was, using Eclipse IDE, In compiler error and warning preferences to warn on unnecessary casts.Thanks for pointing IDEs out. I just opened IntelliJ, and going back to at least version 7.04 (maybe earlier) they have an inspection for "Redundant type cast".
    cliffblob wrote:
    I would still be interested to know if there is a way to identify casts in general in your source, perhaps now four years later there is a way?The only solutions that I can think of are either a complicated regex search, or you must use some tool like an IDE that understand Java syntax and can determine if a cast is happening.

  • How do i search for a string in a txt file using java??

    How do i search for a string in a txt file using java??
    could you please help thanks
    J

    Regular expressinos work just fine, especially when
    searching for patterns. But they seem to be impying
    it's a specific group of characters they're looking
    for, and indexOf() is much faster than a regex.If he's reading from a file, the I/O time will likely swamp any performance hit that regex introduces. I think contains() (or indexOf() if he's not on 5.0 yet) is preferable to regex just because it's simpler. (And in the case of contains(), the name makes for a very clear, direct mapping between your intent and the code that realizes it.)

  • Why opening from java the rpt search for a JNDI when it's setup for a DNS ?

    I downloaded CR for eclipse 2.
    All is 'quite' working froma a java app.
    i've only a problem with an 'jndi name search error'. I'll try to explain.
    In the RPT i use a DSN connection to a sql server into a differente machine. When I open directly the rpt, all is working.
    From java code, i'll open the report, but when i try to export  to pdf iit tell me about an error 'jndi name search error', with the name of the DSN connection i setup.
    Why? Why opening rpt all is working, but opening from code NOT is working ?
    What's the difference from two opening methods? Why an .rpt opened from java cannot just open the connection like when opened from cristal report !?
    *My question is: why opening from java the rpt search for a JNDI when it's setup for a DNS connection ?! *

    The .rpt has been originally created from an ancient version of Cristal report. probably the '8'.
    In an italian software called 'Business', the .rpt is populated for printing of invoices and similar docs.
    My society is trying to 'integrate' our software with the .rpt used from our customer.
    So we want simply open .rpt, add a new logo, set the selection for record and save as pdf.
    We so bought Cristal report 2008 (v.12 ), opened the .rpt, saved (so it 's now in a supported version).
    The sql server is located at 10.1.2.40, and is a Microsoft Sql Server.
    In my development pc I've installed Cr 12. I added a User DSN to point to Sql server at 10.1.2.40, at right DB with username and password. Opening from my development machine the .rpt and 'running' it, it display the data. Ok !
    I downloaded CR4 Eclipse 2.
    I open report using the unmanaged sdk. (to access it through file system, not via RAS), Ok.
    I set selection record. Ok.
    I execute .export with 'PDF' for format option and here I get an exception: the JNDI name 'CPR'  is not found. Where CPR is the DSN name setup into .rpt from Cristal Report 2008.
    So, no, i'm not trying to using the designer from Eclipse, but from the full application. But I must use the rpt at runtime to export some rendered records.
    What must I do to do this?
    CR4E only supports java based connections, so it is looking for the JDBC/JNDI name and won't look at the DSN's.
    How Can i setup at runtime a JDBC / JNDI connection ?
    I already have a 'connection' from my code to the sql server, using sqlserver jdbc driver v. 4 from microsoft. And executing query I see the results. So i have right driver, ip, db name, user name and password
    But is there a way to simply tell at runtime to my .rpt to use THIS connection? Or a similar connection...
    Thanks in advance for help provided to us. (we bought a CR license only for this work...)

  • How to search for upper/lower case using string using JAVA!!!?

    -I am trying to write a program that will examine each letter in the string and count how many time the upper-case letter 'E' appears, and how many times the lower-case letter 'e' appears.
    -I also have to use a JOptionPane.showMessageDialog() to tell the user how many upper and lower case e's were in the string.
    -This will be repeated until the user types the word "Stop". 
    please help if you can
    what i have so far:
    [code]
    public class Project0 {
    public static void main(String[] args) {
      String[] uppercase = {'E'};
      String[] lowercase = {'e'};
      String isOrIsNot, inputWord;
      while (true) {
       // This line asks the user for input by popping out a single window
       // with text input
       inputWord = JOptionPane.showInputDialog(null, "Please enter a sentence");
       if ( inputWord.equals("stop") )
        System.exit(0);
       // if the inputWord is contained within uppercase or
       // lowercase return true
       if (wordIsThere(inputWord, lowercase))
        isOrIsNot = "Number of lower case e's: ";
       if (wordIsThere(inputword, uppercase))
         isOrIsNot = "number of upper case e's: ";
       // Output to a JOptionPane window whether the word is on the list or not
       JOptionPane.showMessageDialog(null, "The word " + inputWord + " " + isOrIsNot + " on the list.");
    } //main
    public static boolean wordIsThere(String findMe, String[] theList) {
      for (int i=0; i<theList.length; ++i) {
       if (findMe.equals(theList[i])) return true;
      return false;
    } // wordIsThere
    } // class Lab4Program1
    [/code]

    So what is your question? Do you get any errors? If so, post them. What doesn't work?
    And crossposted: how to search for upper/lower case using string using JAVA!!!?

  • Since I recently installed pages on my iPad when I try to edit a file on my mac it requires me to update the programme however when I search for updates none seem to be available.

    Since I recently installed pages on my iPad when I try to edit a file on my mac it requires me to update the programme however when I search for updates none seem to be available.

    What version are you using?
    The latest version of Pages('09) is 4.3
    http://support.apple.com/kb/DL1563

  • When I connect to the iTunes store from my ipad 1 and go to either films or tv the app crashes. If i try to search for a tv programme the app crashes. I am using latest iOS

    When I use the iTunes app to connect to the store, the app crashes when I try to search for a tv programme or film. I can buy stuff that is advertised but searching causes a crash. The same has happened with today's 12 days of Christmas. When i try to download House, the app crashes. Same with day 1, Coldplay, app crashed, missed the offer.

    Thanks for your help. A simple power off/on worked and cured the problem. I'm so used to the iPad being on all the time I forgot the basics.

  • Search for a String within a document (Word, txt, doc) using JSP, JAVA

    Hi
    I have created a little application that uses combination of JSP and HTML. Users of this application can upload documents which are then stored on the server. I need to develop functionality where I can allows users to search for a string within a document. More precisely, user would type in some string in a text box and application will search all uploaded documents for that string and return the downloadable links to those documents that contains that string. I have never done this before. I was wondering if someone could get me started on this or point me to some thread where this idea is already discussed. Any Jave code exists for searching through documents??
    Thanks for your help
    Riz

    http://www.ibm.com/developerworks/java/library/j-text-searching.html
    http://en.wikipedia.org/wiki/Full_text_search
    Type these parameter in yahoo:+efficient text search
    you will need something like openoffice library to read microsoft word document.

  • Search for Pattern using Java

    hello friends,
    I am trying to read a 'C' file and trying to look for all the lines in the 'C' cod, wherever a function call has happened. How could I do that ??
    Thanks
    ashu

    import java.io.*;
    import java.util.Scanner;
    import java.util.regex.Matcher;
    import java.util.regex.*;
    class FileParser{
        Scanner sc;
        FileParser(String fileName)throws FileNotFoundException{
         sc = new Scanner(new File(fileName));
        void getFunctions(){
         //sc.findInLine("([a-zA-Z]+) (\p{Punct})");
         sc.findInLine("");
         MatchResult result = sc.match();
         //for (int i=1; i<=result.groupCount(); i++)
            // System.out.println(result.group(i));//typo in API
         //System.out.println(result.group(1));
         //System.out.println(result.group(2));
        void getLoops(){
         //Search for patterns FOR, WHILE, DO-WHILE
         sc.findInLine("void");
         MatchResult result = sc.match();
         for (int i=0; i<=result.groupCount(); i++)
             System.out.println(result.group(i));
         /*     sc.findInLine("main");
         result = sc.match();
         for (int i=0; i<=result.groupCount(); i++)
             System.out.println(result.group(i));
         sc.findInLine("void");
         result = sc.match();
         for (int i=0; i<=result.groupCount(); i++)
             System.out.println(result.group(i));
        //Search for pattern FOR
        void getForLoops(){
        //Search for pattern WHILE
        void getWhileLoops(){
        //Search for pattern DO-WHILE
        void getDoWhileLoops(){
        //Search for Union
        //Search for Struct
    }I have added/deleted stuff to try all the different combinations. This class basically will have methods to ....
    1) Get a List of Function Calls with Line# in 'C' code
    2) Get a List of Loops with Line# in 'C' code
    import java.io.*;
    class TestScan{
        public static void main(String[] args)throws IOException{
         FileParser fp = new FileParser("main.c");
         //     fp.getFunctions();
         fp.getLoops();
    }Message was edited by:
    ashucool83

  • Search for a Multilingual value in MDM using JAVA API

    Good day,
    Could you kindly assist.
    I am trying to search for a field in MDM, from Portal using JAVA API. I do retrieve the value in English, but the problem is when I am trying to retrieve it in other languages. Please see sample code:
         private Search getSearch(MDMConnection mdmconnection,String value, TableId tableid){
              Search search =null;
              FieldSearchDimension fielddimension=null;
              TextSearchConstraint textcontrain=null;
              RepositorySchema reposchema =mdmconnection.reposchema;          
                                               if(value!=null)
                   search= new Search(tableid);
                   fielddimension=new FieldSearchDimension(reposchema.getFieldId("ATTR_VAL_ABBR","TEXT_VALUE"));
                   textcontrain=new TextSearchConstraint(value,TextSearchConstraint.EQUALS);
                   search.addSearchItem(fielddimension,textcontrain);
                   search.setComparisonOperator(Search.AND_OPERATOR);
              return search;
    Thank you in advance.
    Regards,
    Simni

    Hi ,
    Mdm- Multilingual value in MDM using JAVA API:
    you can check the first point as its reagrdign youisue related pdf and soloutions for your question.
    1.  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e8aedc-cdfe-2c10-6d90-bea2994455c5?QuickLink=index&overridelayout=true
    2.  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e8aedc-cdfe-2c10-6d90-bea2994455c5?QuickLink=index&overridelayout=true
    Hope this information helps you in solving the  issue!!
    Thanks&Regards
    AswinChandraGirmaji

  • Searching for documentation and information regarding programmes/sponsoring

    For development within software and CRM I am searching for documentation regarding actual programmes-sponsoring and information to correspond with experts within software development and CRM management placed and available by this portal of Oracle.
    Looking forward to your comments and notes!
    gjh03278

    I don't understand the question.

  • Search for  BAPI to access it throw Java pro gramme

    dear all
    Iam search for a BAPI to be used in search for particular customer using one of its attribute wich is stored in kna1 table
    and also search in its details stored in ADRC taple if possible.
    and also BAPI for search for equipment using one of its attribute like serial number or sold to party .
    which i can access it  in my   portal .
    thank you

    Hi Ahmed,
    Have a look at the below link, some example bapi names are mentioned here -
    http://www.sapfans.com/forums/viewtopic.php?p=648307
    Also, there are no. of bapi's uses kna1 or adrc table so, you better search on specific requirement on sdn.com.
    Regards,
    Sen

Maybe you are looking for