Moved some API classes into packages.

This commit is contained in:
akwizgran
2015-12-16 13:46:08 +00:00
parent 9fbdb08cf1
commit c5282c5b17
115 changed files with 408 additions and 430 deletions

View File

@@ -1,6 +1,6 @@
package org.briarproject.api.sync;
import org.briarproject.api.Author;
import org.briarproject.api.identity.Author;
public interface Message {
@@ -20,7 +20,7 @@ public interface Message {
Group getGroup();
/**
* Returns the message's {@link org.briarproject.api.Author Author}, or null
* Returns the message's {@link Author Author}, or null
* if this is an anonymous message.
*/
Author getAuthor();

View File

@@ -1,7 +1,7 @@
package org.briarproject.api.sync;
import org.briarproject.api.Author;
import org.briarproject.api.crypto.PrivateKey;
import org.briarproject.api.identity.Author;
import java.io.IOException;
import java.security.GeneralSecurityException;

View File

@@ -1,6 +1,6 @@
package org.briarproject.api.sync;
import org.briarproject.api.Author;
import org.briarproject.api.identity.Author;
public class MessageHeader {

View File

@@ -1,7 +1,7 @@
package org.briarproject.api.sync;
import org.briarproject.api.ContactId;
import org.briarproject.api.TransportId;
import org.briarproject.api.contact.ContactId;
import java.io.InputStream;
import java.io.OutputStream;

View File

@@ -1,6 +1,6 @@
package org.briarproject.api.sync;
import org.briarproject.api.Author;
import org.briarproject.api.identity.Author;
/** A {@link Message} that has not yet had its signatures (if any) verified. */
public class UnverifiedMessage {
@@ -45,7 +45,7 @@ public class UnverifiedMessage {
}
/**
* Returns the message's {@link org.briarproject.api.Author Author}, or null
* Returns the message's {@link Author Author}, or null
* if this is an anonymous message.
*/
public Author getAuthor() {