phramusca

This is my homepage.

View on GitHub

Java

J’utilise pour ma part NetBeans comme IDE (un autre équivalent est le bien connu Eclipse, que je ne connais que très peu)

Généralités

Log

Librairies

Nom Description Documentation Download
SQLite JDBC Driver SQLite   https://bitbucket.org/xerial/sqlite-jdbc
MySQL Connector/J MySQL - Tutoriel
- NetBeans tuto
http://dev.mysql.com/downloads/connector/j/5.1.html
Apache Commons Net FTP, Telnet, POP3, FTP, SMTP, … - Exemples
- Exemple upload/download FTP
- FTP Binary mode
http://commons.apache.org/net/download_net.cgi
JSch - Java Secure Channel SSH - Create InputStream http://www.jcraft.com/jsch/
javax.comm Ports Série (serial port) - Tutoriel
- Tuto en anglais - utile ?
- Windows Installation Guide
 
Jaudiotagger MP3 ID3 tag (2011-?) Autres librairies (outdated) :
- mp3agic (2010-2011)
- JLayer (1999-2008)
- javamp3 (2004-2008)
- myid3 (2007-2008)
- entagged (2003-2006)
- javamusictag (2003-2006)
- jid3 (? - 2005)
Maven .jar builds
Java Excel API (jxl) Excel - Tutoriel A tester : http://poi.apache.org/  
lastfm-java Last.fm API bindings for Java    
JLayer MP3 decoder/player/converter library for Java™ platform.    
ini4j Java API for handling Windows ini file format    
jCharts Charts See also: JFreeChart (a tester, plus compliqué mais plus puissant apparemment)  
coverartarchive-api MusicBrainz Cover Art Archive API To use a proxy: First, make DefaultCoverArtArchiveClient(HttpClient client) public in DefaultCoverArtArchiveClient class
Then:
DefaultHttpClient httpclient = new DefaultHttpClient();<br>HttpHost proxy = new HttpHost("xx.xx.xx.xx", 8080);<br>httpclient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, proxy);<br>CoverArtArchiveClient client = new DefaultCoverArtArchiveClient(httpclient);
 
musicbrainzws2-java Java binding for MusicBrainz XML Web Service/Version 2 Autres librairies (to be tested) :
- musicbrainz-data (Need to learn more about Spring framework and eventually Maven: forum issue) (JAR Builds)
- javamusicbrainz
 
JAVE Java Audio Video Encoder    

Runtime exec et Threads

Misc

Swing

     
Component Description Lien
JList Get selected item(s) http://www.exampledepot.com/egs/javax.swing/list_ListGetSel.html
  Double click http://www.developpez.net/forums/d539105/java/interfaces-graphiques-java/awt-swing/composants/listes/jlist-double-clique-element/#
  How to add a checkbox to items in a JList http://helpdesk.objects.com.au/java/how-do-add-a-checkbox-to-items-in-a-jlist
JTable Hide/Show columns http://www.stephenkelvin.de/XTableColumnModel/
  Choose the color of a JTable cell http://www.javaworld.com/article/2077430/core-java/set-the-jtable.html
  How to change color of JTable row having a particular value http://www.java-forums.org/awt-swing/541-how-change-color-jtable-row-having-particular-value.html
  Horizontal scrollbar http://stackoverflow.com/questions/2452694/jtable-horizontal-scrollbar-in-java http://stackoverflow.com/questions/3857807/java-swing-problems-with-horizontal-scroll-for-a-jtable-embedded-in-a-jscrolled
  How to Insert Image into JTable Cell http://stackoverflow.com/questions/4941372/how-to-insert-image-into-jtable-cell
  JButton in a JTable cell http://www.theinsanetechie.in/2013/08/java-jbutton-in-jtable-cell.html
  Click event http://stackoverflow.com/questions/7350893/click-event-on-jtable-java
ImageIcon Creating border around ImageIcon on a JLabel, not around the Jlabel http://stackoverflow.com/questions/7350893/click-event-on-jtable-java

Graphic

   
Description Lien
Reading an Image from a File, InputStream, or URL http://www.exampledepot.com/egs/javax.imageio/BasicImageRead.html
Saving a Generated Graphic to a PNG or JPEG File http://www.exampledepot.com/egs/javax.imageio/Graphic2File.html

String

   
Description Lien
Left-padding integers http://stackoverflow.com/questions/473282/left-padding-integers-with-zeros-in-java
Date format http://30minparjour.la-bnbox.fr/post/2010/petit-point-sur-simpledateformat
Regex http://benhur.teluq.uqam.ca/SPIP/inf6460/article.php3?id_article=29&id_rubrique=7&sem=5

Convert

Description Lien
Blob to String http://shitmores.blogspot.fr/2007/06/convert-javasqlblob-to-string.html
Inter > String String.valueOf(myInt);
String > Integer Integer.parseInt(myString);

En vrac (pour l’instant)

Maven (A TESTER)

JAR Version

A étudier plus sérieusement

Include librairies in JAR

<plugin>
  <artifactId>maven-assembly-plugin</artifactId>
  <configuration>
    <descriptorRefs>
    <descriptorRef>jar-with-dependencies</descriptorRef>
    </descriptorRefs>
  </configuration>
  <executions>
    <execution>
      <id>make-assembly</id>
      <phase>package</phase>
      <goals>
        <goal>attached</goal>
      </goals>
    </execution>
  </executions>
</plugin>
<target name="-post-jar">
  <jar jarfile="dist/finalApp.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/log4j-1.2.16.jar" excludes="META-INF/*" />
    <manifest>
      <attribute name="Main-Class" value="com.example.package.Main"/>
    </manifest>
  </jar>
</target>

Temp: jMusicLib

J’ai un projet en cours jMusicLib dont le nom n’est pas encore fixé et qui n’est pas encore disponible en ligne. Mais pour mon propre besoin, je commence à écrire une doc.