Re: Java: class visibility

2009-08-05 Thread Kenton Varda
Currently there's no way to do that.  You could add an option to
descriptor.proto, and update the Java code generator to honor it.  Or you
could just use a postprocessing step like:
  sed -i 's/^public class/class/' MyProto.java

On Wed, Aug 5, 2009 at 6:41 AM, v6ak  wrote:

>
> How can I achieve package-private class visibility? Using of Protocol
> Buffers is just implementation detail only.
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Java: class visibility

2009-08-05 Thread v6ak

How can I achieve package-private class visibility? Using of Protocol
Buffers is just implementation detail only.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---