init
Change-Id: I292e0341bedb1cdebfaea44a4d1c52767b853751
This commit is contained in:
parent
d740b6f174
commit
226eb0a9b9
2
pom.xml
2
pom.xml
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<groupId>org.chobit.wp</groupId>
|
<groupId>org.chobit.wp</groupId>
|
||||||
<artifactId>wordpress-client</artifactId>
|
<artifactId>wordpress-client</artifactId>
|
||||||
<version>0.1</version>
|
<version>0.1.1</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>WordPress-Client</name>
|
<name>WordPress-Client</name>
|
||||||
|
@ -14,12 +14,9 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public final class WordPress {
|
public final class WordPress {
|
||||||
|
|
||||||
private WordPressConfig config;
|
|
||||||
|
|
||||||
private WPClient client;
|
private WPClient client;
|
||||||
|
|
||||||
public WordPress(WordPressConfig config) {
|
public WordPress(WordPressConfig config) {
|
||||||
this.config = config;
|
|
||||||
try {
|
try {
|
||||||
client = new WPClient(config);
|
client = new WPClient(config);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
@ -3,7 +3,7 @@ package org.chobit.wp;
|
|||||||
/**
|
/**
|
||||||
* @author robin
|
* @author robin
|
||||||
*/
|
*/
|
||||||
final class WordPressConfig {
|
public final class WordPressConfig {
|
||||||
|
|
||||||
private int blogId;
|
private int blogId;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user