public static RotateStream create(String path) throws ConfigException {
synchronized (_formatStreams) {
    WeakReference<RotateStream> ref=_formatStreams.get(path);
    RotateStream stream=ref != null ? ref.get() : null;
    if (stream == null) {
      stream=new RotateStream(path);
      _formatStreams.put(path,new WeakReference<RotateStream>(stream));
    }
    return stream;
  }
}

public static RotateStream create ( String path ) throws ConfigException { synchronized ( _formatStreams ) { WeakReference < RotateStream > ref = _formatStreams . get ( path ) ; RotateStream stream = ref != null ? ref . get ( ) : null ; if ( stream == null ) { stream = new RotateStream ( path ) ; _formatStreams . put ( path , new WeakReference < RotateStream > ( stream ) ) ; } return stream ; } }
returns the rotate stream corresponding to this path
