Prettify APIviz diagrams / Remove an empty package

This commit is contained in:
Trustin Lee 2013-02-11 18:33:15 +09:00
parent f98da73612
commit 4aacf50758
8 changed files with 15 additions and 26 deletions

View File

@ -226,6 +226,7 @@ import java.nio.charset.UnsupportedCharsetException;
*
* Please refer to {@link ByteBufInputStream} and
* {@link ByteBufOutputStream}.
*
* @apiviz.landmark
*/
public interface ByteBuf extends Buf, Comparable<ByteBuf> {

View File

@ -15,6 +15,9 @@
*/
package io.netty.buffer;
/**
* @apiviz.has io.netty.buffer.ByteBuf oneway - - creates
*/
public interface ByteBufAllocator {
ByteBuf buffer();

View File

@ -22,6 +22,8 @@ import java.util.Queue;
* Buf which operates on messages.
*
* @param <T> the type of the messages that are hold by this {@link MessageBuf}
*
* @apiviz.landmark
*/
public interface MessageBuf<T> extends Buf, Queue<T> {

View File

@ -129,6 +129,11 @@
*
* @apiviz.landmark
* @apiviz.exclude ^java\.lang\.
* @apiviz.exclude ^java\.io\.[^\.]+Stream$
* @apiviz.exclude netty\.((?!buffer).)+$
* @apiviz.exclude (In|Out)putStream$
* @apiviz.exclude \.(Abstract|Default)((?!ByteBufAllocator).)*$
* @apiviz.exclude \.(BufType|BufUtil)$
* @apiviz.exclude \.[^\.]+Exception$
* @apiviz.exclude \.(Empty|Swapped|Default|Sliced|Duplicated|ReadOnly)[^\.]*ByteBuf$
*/
package io.netty.buffer;

View File

@ -1,22 +0,0 @@
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
/**
* UDT Transport for OIO Channels.
* <p>
* @see /netty/example/src/main/java/io/netty/example/udt
*/
package io.netty.channel.udt.oio;

View File

@ -34,6 +34,7 @@ import java.util.Map;
* {@link AbstractBootstrap} is a helper class that makes it easy to bootstrap a {@link Channel}. It support
* method-chaining to provide an easy way to configure the {@link AbstractBootstrap}.
*
* @apiviz.exclude
*/
abstract class AbstractBootstrap<B extends AbstractBootstrap<B, C>, C extends Channel> implements Cloneable {

View File

@ -20,6 +20,8 @@ import io.netty.channel.Channel;
/**
* Factory that creates a new {@link Channel} on {@link Bootstrap#bind()}, {@link Bootstrap#connect()}, and
* {@link ServerBootstrap#bind()}.
*
* @apiviz.exclude
*/
public interface ChannelFactory<T extends Channel> {
/**

View File

@ -60,9 +60,6 @@ import java.util.Map;
* example, you can configure the parameters which are specific to a TCP/IP
* socket as explained in {@link SocketChannelConfig}.
*
* @apiviz.has io.netty.channel.ChannelPipelineFactory
* @apiviz.composedOf io.netty.channel.ReceiveBufferSizePredictor
*
* @apiviz.excludeSubtypes
*/
public interface ChannelConfig {