6060
6161}
6262
63- namespace Hoa \StringBuffer {
63+ namespace Hoa \Stringbuffer {
6464
6565/**
66- * Class \Hoa\StringBuffer .
66+ * Class \Hoa\Stringbuffer .
6767 *
6868 *
6969 *
7272 * @license New BSD License
7373 */
7474
75- abstract class StringBuffer
75+ abstract class Stringbuffer
7676 extends \Hoa \Stream
7777 implements \Hoa \Stream \IStream \Bufferable,
7878 \Hoa \Stream \IStream \Lockable,
@@ -81,7 +81,7 @@ abstract class StringBuffer
8181 /**
8282 * String buffer index.
8383 *
84- * @var \Hoa\StringBuffer int
84+ * @var \Hoa\Stringbuffer int
8585 */
8686 private static $ _i = 0 ;
8787
@@ -98,7 +98,7 @@ abstract class StringBuffer
9898 public function __construct ( $ streamName = null ) {
9999
100100 if (null === $ streamName )
101- $ streamName = 'hoa://Library/StringBuffer # ' . self ::$ _i ++;
101+ $ streamName = 'hoa://Library/Stringbuffer # ' . self ::$ _i ++;
102102
103103 parent ::__construct ($ streamName , null );
104104
@@ -113,7 +113,7 @@ public function __construct ( $streamName = null ) {
113113 * null).
114114 * @param \Hoa\Stream\Context $context Context.
115115 * @return resource
116- * @throw \Hoa\StringBuffer \Exception
116+ * @throw \Hoa\Stringbuffer \Exception
117117 */
118118 protected function &_open ( $ streamName , \Hoa \Stream \Context $ context = null ) {
119119
@@ -256,7 +256,7 @@ public function tell ( ) {
256256 *
257257 * @access public
258258 * @param string $string String.
259- * @return \Hoa\StringBuffer
259+ * @return \Hoa\Stringbuffer
260260 */
261261 public function initializeWith ( $ string ) {
262262
@@ -270,9 +270,9 @@ public function initializeWith ( $string ) {
270270}
271271
272272/**
273- * Class \Hoa\StringBuffer \_Protocol.
273+ * Class \Hoa\Stringbuffer \_Protocol.
274274 *
275- * hoa://Library/StringBuffer component.
275+ * hoa://Library/Stringbuffer component.
276276 *
277277 * @author Ivan Enderlin <ivan.enderlin@hoa-project.net>
278278 * @copyright Copyright © 2007-2013 Ivan Enderlin.
@@ -286,7 +286,7 @@ class _Protocol extends \Hoa\Core\Protocol {
286286 *
287287 * @var \Hoa\Core\Protocol string
288288 */
289- protected $ _name = 'StringBuffer ' ;
289+ protected $ _name = 'Stringbuffer ' ;
290290
291291
292292
@@ -300,7 +300,7 @@ class _Protocol extends \Hoa\Core\Protocol {
300300 public function reachId ( $ id ) {
301301
302302 $ stream = resolve (
303- 'hoa://Library/Stream#hoa://Library/StringBuffer # ' . $ id
303+ 'hoa://Library/Stream#hoa://Library/Stringbuffer # ' . $ id
304304 );
305305
306306 if (null === $ stream )
@@ -316,10 +316,10 @@ public function reachId ( $id ) {
316316namespace {
317317
318318/**
319- * Add the hoa://Library/StringBuffer component. Help to know to real path of a
319+ * Add the hoa://Library/Stringbuffer component. Help to know to real path of a
320320 * stringbuffer.
321321 */
322322$ protocol = \Hoa \Core::getInstance ()->getProtocol ();
323- $ protocol ['Library ' ][] = new \Hoa \StringBuffer \_Protocol ();
323+ $ protocol ['Library ' ][] = new \Hoa \Stringbuffer \_Protocol ();
324324
325325}
0 commit comments