Search:

Type: Posts; User: efluvio

Search: Search took 0.42 seconds.

  1. Re: Are we allowed to make a post here about our works in progress?

    visit quicklearningjava.blogspot.com to learn java
  2. Replies
    11
    Views
    195

    Re: Programm does not start. Help Please!

    The Method "Ende" is in the Same class in which there is the "main" method, that caused the syntax error.
    If I write


    public static void main(String[] args) {
    Spielsystem Schiff = new...
  3. Replies
    11
    Views
    195

    Re: Programm does not start. Help Please!

    How can I programm this? Didn't I created a new instance with "new Spielsystem();"?
  4. Replies
    11
    Views
    195

    Re: Programm does not start. Help Please!

    ende() is in the same class as the "Error"-Main Class. The Code creates a "new Spielsystem" of that class.
    Where should I enter the data? I assume it is




    public boolean ende() {
    ...
  5. Replies
    11
    Views
    195

    Re: Programm does not start. Help Please!

    Do I have to put this in the method "ende" itself?
    Which instances should I put in there?
  6. Replies
    11
    Views
    195

    Re: Programm does not start. Help Please!

    Thanks! will do that!
  7. Replies
    11
    Views
    195

    Programm does not start. Help Please!

    Hey I have written this code:
    When I am executing it, I have problems with my main class. What can I do?
    (German Student)

    Programm should just start the methods in 2 other classes.

    ERROR...
  8. Replies
    1
    Views
    135

    Confused About Interface Classes

    Diagram:1796
    ===========================================================
    Constructors:
    public ConsLoIF(ImageFile first, ILoIF rest) { }
    public MtLoIF() {}
    public ImageFile(String name, int...
  9. Thread: JDBC Error

    by efluvio
    Replies
    1
    Views
    249

    JDBC Error

    Hi guys,

    I am currently trying to select a variable from my database and keep receiving error. Any suggestions?

    at...
  10. Help with splitting string in PDF Generator Function

    Hi,

    I am currently building a Java software that develops a PDF file based on a table. However, I am having an issue with getting all the information into the column of the PDF and need help. ...
  11. How to remove any BOM from UTF-8 encoded text files

    EDIT: Solved with Apache Commons IO BOMInputStream
    http://commons.apache.org/io/api-release/org/apache/commons/io/input/BOMInputStream.html
    -----------------
    I have some text files starting with ...
  12. Replies
    2
    Views
    2,102

    Re: Convert file from any encoding to UTF-8

    Thank you. I've found that when specifying encoding for the output is necessary as well to specify it for the input:

    BufferedReader input = new BufferedReader(new InputStreamReader(new...
  13. Replies
    2
    Views
    2,102

    Convert file from any encoding to UTF-8

    I have files that are either encoded in ASCII (Windows-1252) or UTF-8 (with or without BOM encoding). How can I convert them from their encoding to UTF-8, like I could do with text editors like...
  14. Replies
    1
    Views
    1,627

    Convert String from ANSI to UTF-8

    How can I convert a string from ANSI to UTF-8?
  15. Replies
    1
    Views
    1,426

    Change file encoding from ANSI to UTF-8

    I read from a file that may have ANSI or UTF-8 encoding, and by default BufferedWriter(new FileWriter(outFile) saves the file in ANSI. I would like to save it in UTF-8. How could I do that?
  16. [SOLVED] Re: How to decode ENCODING=QUOTED-PRINTABLE encoded data?

    I've solved it using the org.apache.commons.codec package from Apache. The source java files are available for download:
    Codec - Home

    It contains the method...
  17. [SOLVED] Re: How to decode ENCODING=QUOTED-PRINTABLE encoded data?

    It doesn't work if there are some characters (that are not supposed to be in a URL):


    Exception in thread "main" java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape...
  18. [SOLVED] Re: How to decode ENCODING=QUOTED-PRINTABLE encoded data?

    Yes, but convert all the cases.

    You can check here a webpage that does online conversion, but I would like to do it with software: Encode/Decode Quoted Printable - Webatic
  19. [SOLVED] Re: How to decode ENCODING=QUOTED-PRINTABLE encoded data?

    The source is a contact VCARD, and each entry goes on one line if not quoted printable but goes in one or more is used the ENCODING=QUOTED-PRINTABLE string, indicating an ending with the '='...
  20. [SOLVED] How to decode ENCODING=QUOTED-PRINTABLE encoded data?

    I want to decode data with the encoding ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:

    to standard text. For example =0D=0A turns into \n and so on, but I was unable to find a specific standard java...
  21. Replies
    2
    Views
    3,398

    Re: How to install the JDK on Ubuntu Linux

    what about openjdk?
  22. Replies
    3
    Views
    1,291

    [SOLVED] Re: Send File (path) as argument to method

    It was solved modifying the convert.java:

    public class convert {

    /**
    * @param args
    */
    public static void getnumber(String args) {
    // TODO Auto-generated method stub
  23. Replies
    3
    Views
    1,291

    [SOLVED] Re: Send File (path) as argument to method

    It is properly declared. The list[] is a list of files read from a folder, and I want to pass them one by one to a method to do text file conversion.
  24. Replies
    3
    Views
    1,291

    [SOLVED] Send File (path) as argument to method

    convert.java
    public class convert {

    /**
    * @param args
    */
    public static void getnumber(String[] args) {
    // TODO Auto-generated method stub

    }
Results 1 to 24 of 24