src/share/classes/com/sun/tools/doclets/formats/html/markup/StringContent.java

changeset 1737
7a9ef837e57f
parent 1364
8db45b13526e
child 1741
4c43e51433ba
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/markup/StringContent.java	Tue May 14 10:14:52 2013 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/markup/StringContent.java	Tue May 14 10:14:52 2013 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -91,6 +91,10 @@
    1.11          return (stringContent.length() == 0);
    1.12      }
    1.13  
    1.14 +    public int charCount() {
    1.15 +        return stringContent.length();
    1.16 +    }
    1.17 +
    1.18      /**
    1.19       * {@inheritDoc}
    1.20       */

mercurial